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

Release editor allows invalid characters to sneak into the database

XMLWordPrintable

      I removed a bunch of invalid characters from track and recording names today (see edits) because they caused searches to fail (chatlog).

      MusicBrainz::Server::Form::Field::Text makes sure that the trim function is called on all strings coming in via regular forms, fixing the issue (MBS-4606). The release editor, however, bypasses FormHandler and would need to apply MusicBrainz::Server::Data::Utils::trim to all strings itself, but doesn't.

      This probably affects the relationship editor as well, for text attribute values.

            bitmap Michael Wiencek
            chirlu Ulrich Klauer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2014-06-23