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

Wikipedia abstract logic doesn't properly encode certain characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2012-12-10
    • None
    • Data display
    • None

      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
      

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

              Created:
              Updated:
              Resolved:

                Version Package
                2012-12-10