Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-5

Existence of the "tags" key inside additional_info is not validated

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • API
    • None

      submitting a listen without a tags key in payload→track_metadata→additional_info fails because https://github.com/metabrainz/listenbrainz-server/blob/master/webserver/views/api.py#L199-L200 only checks for "additional_info" but then proceeds to access "tags". This caused an internal server error.

            Unassigned Unassigned
            mineo Wieland Hoffmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package