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

Release editor allows invalid characters to sneak into the database

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2014-06-23