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

The submission API doesn't check whether MBIDs are really UUIDs

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

      The following data:

      {
      "payload": [
      {
      "listened_at": 1443522820,
      "track_metadata": {
      "additional_info":

      { "release_mbid": "hallowelt", "artist_mbids": [ "66da25f9-1534-4dd1-b88c-718bc24e1ccd" ], "recording_mbid": "huhu", "tags": [] }

      ,
      "artist_name": "Guano Apes",
      "track_name": "You Can't Stop Me",
      "release_name": "Walking on a Thin Line"
      }
      }
      ],
      "listen_type": "single"
      }

      can be submitted perfectly fine and returns the malformed recording and release mbids on subsequent get requests.

          [LB-74] The submission API doesn't check whether MBIDs are really UUIDs

          Roman added a comment -

          Roman added a comment - https://github.com/metabrainz/listenbrainz-server/pull/49

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

              Created:
              Updated:
              Resolved:

                Version Package