Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate content type format on PUT #137

Closed
raucao opened this issue Apr 15, 2020 · 0 comments
Closed

Validate content type format on PUT #137

raucao opened this issue Apr 15, 2020 · 0 comments
Assignees

Comments

@raucao
Copy link
Member

raucao commented Apr 15, 2020

Invalid content types result in 403s. We should at least make sure there's a forward slash in the string.

gregkare added a commit that referenced this issue Apr 15, 2020
Return a 415
(https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415) when the
Content-Type does not look like a valid MIME type (in the type/subtype
format)

Refs #137
gregkare added a commit that referenced this issue Apr 15, 2020
Return a 415
(https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415) when the
Content-Type does not look like a valid MIME type (in the type/subtype
format)

Refs #137
@raucao raucao closed this as completed Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants