You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/10/17 23:47:05 UTC

[jira] [Commented] (COUCHDB-2775) POST Valid json header

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

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

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

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)