[ 
https://issues.apache.org/jira/browse/COUCHDB-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14729258#comment-14729258
 ] 

ASF subversion and git services commented on COUCHDB-2775:
----------------------------------------------------------

Commit c7708e9f064e5481d0aadc9c1f0760b0ea7a092e in couchdb-couch's branch 
refs/heads/master from [~mayyas]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch.git;h=c7708e9 ]

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)

Reply via email to