You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ curl -i http://127.0.0.1:1212/api/torrents?token=MyAccessToken
HTTP/1.1200 OK
content-type: application/json
content-length: 2date: Wed, 10 Aug 202208:45:47 GMT
[]
I think the response code should be 401 for this endpoint.
NOTE for other endpoints: if knowing the resource URL implies getting info you should not have, then you should return 404 instead of 403 (Insecure Direct Object References (IDOR)).
Request without token:
Request with token:
I think the response code should be
401
for this endpoint.Links
The text was updated successfully, but these errors were encountered: