[
https://issues.apache.org/jira/browse/COUCHDB-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14962091#comment-14962091
]
ASF subversion and git services commented on COUCHDB-2775:
----------------------------------------------------------
Commit 9c910db69f088dfff180e10cc93624a0db7439b3 in couchdb's branch
refs/heads/master from [~kxepal]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=9c910db ]
Add CSRF protection for mango endpoints
COUCHDB-2775
> POST Valid json header
> ----------------------
>
> Key: COUCHDB-2775
> URL: https://issues.apache.org/jira/browse/COUCHDB-2775
> Project: CouchDB
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: Database Core
> Reporter: Mayya Sharipova
> Priority: Minor
>
> validate that all POST requests with json body must have also have valid json
> header:
> {"Content-Type": "application/json"}
> This ensures a basic protection against CSRF.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)