Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-5618

Wikipedia abstract logic doesn't properly encode certain characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2012-12-10
    • Component/s: Data display
    • Labels:
      None

      Description

      When trying to view https://beta.musicbrainz.org/artist/819eaeb2-8dd8-48a5-ad07-0bcd137985ef (Antonín Dvořák), I get this ISE (the unescaped character is the "ř"):

      Caught exception in MusicBrainz::Server::Controller::Artist->show "Can't escape \x{0159}, try uri_escape_utf8() instead at lib/MusicBrainz/Server/Data/WikipediaExtract.pm line 105."
      
      Stack trace:
      
          line 105 MusicBrainz::Server::Data::WikipediaExtract
          line 75 MusicBrainz::Server::Data::WikipediaExtract
          line 67 MusicBrainz::Server::Data::WikipediaExtract
          line 30 MusicBrainz::Server::Data::WikipediaExtract
          line 40 MusicBrainz::Server::Controller::Role::WikipediaExtract
          line 8 MusicBrainz::Server::Controller::Role::WikipediaExtract
          line 311 MusicBrainz::Server
          line 311 MusicBrainz::Server
          line 311 MusicBrainz::Server
          line 270 MusicBrainz::Server
          line 366 MusicBrainz::Server
          line 277 MusicBrainz::Server
      
      Request data:
      
      $VAR1 = {
                'query_parameters' => {},
                'body_parameters' => {}
              };
                  
      
      Interface language: en
      
      URL: https://beta.musicbrainz.org/artist/819eaeb2-8dd8-48a5-ad07-0bcd137985ef
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ianmcorvidae Ian McEwen
                Reporter:
                chirlu Ulrich Klauer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  2012-12-10