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

Server does not fully collapse spaces surrounding non-printable characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2015-07-27
    • None
    • None
    • None

      I observed that we collapse spaces before non-printable chars are removed, at https://github.com/metabrainz/musicbrainz-server/blob/9d8752d/lib/MusicBrainz/Server/Data/Utils.pm#L314

      I assume this is how http://musicbrainz.org/edit/33190862 was entered, because /ws/js/edit trims all the track names just fine and I can't see any other way to bypass the space collapsing code. (If the problem was in the /ws/js/edit code, I think the issue would be more widespread.)

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

              Created:
              Updated:
              Resolved:

                Version Package
                2015-07-27