[
https://issues.apache.org/jira/browse/COUCHDB-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727506#comment-14727506
]
ASF subversion and git services commented on COUCHDB-2775:
----------------------------------------------------------
Commit c903b52e063d89f84c4f87ad41bab1369bd88bf4 in couchdb-chttpd's branch
refs/heads/master from [~mayyas]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=c903b52 ]
check POST requests for valid json header
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
JIRA: 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)