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

Gracefully reject invalid vote arguments for edit search

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2025-02-24
    • None
    • Edit search
    • None

      Found in Sentry: a link such as /search/edits?conditions.0.args=&conditions.0.field=voter&conditions.0.name=aerozol&conditions.0.operator=%3D&conditions.0.voter_id=463559 causes an ISE when logged in - it seems to be caused by the empty conditions.0.args= leading to an empty WHERE () in the query. We should fail gracefully by either rejecting the link and showing an error, or dropping the WHERE if there's no conditions.

            reosarevok Nicolás Tamargo
            reosarevok Nicolás Tamargo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2025-02-24