News for hackers. Stuff that matters.
Re:API Shouldn't Redirect HTTP to HTTPS by bhawks on Tuesday May 28, 2024 @11:48PM (#40508253)
You may want to disable path resolution as well.

http://api.openai.com/v1/chat/completions/../bar responds with error messages about http://api.openai.com/v1/chat/bar which might suggest some path traversal vulnerability that could be exploited.

Generally an API client is not going to need .. to be resolved in a path. It should return 400 - Bad Request (deceptive routing).

There are no comments on this comment yet.