Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-578

Lookup for artists and/or songs with special chars. fails with invalid WS URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.3
    • 1.2
    • Lookup & Match
    • None
    • Fedora 20 x86_64

      Trying to lookup a cluster with an artist containing a slash, more specifically, 'AC/DC', generates a seemly invalid query URL:

       
      GET http://localhost:5001/ws/2/release/?limit=%19&query=release%3A%28%2774%20jailbreak%29%20tracks%3A%285%29%20artist%3A%28ac%2Fdc%29
      D: 139866093930304 01:57:12 Received reply for http://localhost:5001/ws/2/release/?limit=&query=release:('74 jailbreak) tracks:(5) artist:(ac/dc): HTTP 400 (Bad Request) 
      E: 139866093930304 01:57:12 Network request error for http://localhost:5001/ws/2/release/?limit=&query=release:('74 jailbreak) tracks:(5) artist:(ac/dc): Error downloading http://localhost:5001/ws/2/release/?limit=%19&query=release%3A%28%2774%20jailbreak%29%20tracks%3A%285%29%20artist%3A%28ac%2Fdc%29 - server replied: Bad Request (QT code 299, HTTP code 400)
      

      The URLs above point to a local server, but I observe the same behavior using musicbrainz.org.

            Unassigned Unassigned
            danielkza Daniel Miranda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                1.3