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

Use HTTP POST when deleting attachments #228

Merged

Conversation

xdarklight
Copy link
Contributor

This fixes deleting attachments on tomcat where HTTP DELETE (and PUT)
are disabled by default. Enabling them is also not possible because that
would allow users to delete attachments if they know the id of the
attachment on the file-system (for example with curl, by running
curl -X DELETE http://mamute.local/attachments/1).

This fixes deleting attachments on tomcat where HTTP DELETE (and PUT)
are disabled by default. Enabling them is also not possible because that
would allow users to delete attachments if they know the id of the
attachment on the file-system (for example with curl, by running
curl -X DELETE http://mamute.local/attachments/1).
@felipeweb
Copy link
Contributor

@csokol ok

felipeweb added a commit that referenced this pull request Feb 13, 2016
…chment

Use HTTP POST when deleting attachments
@felipeweb felipeweb merged commit a68b372 into caelum:master Feb 13, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants