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

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

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

Add CSRF protection for mrview 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)

Reply via email to