coheigea opened a new pull request, #3761:
URL: https://github.com/apache/cxf/pull/3761

   RequestPreprocessor always lets the "_ctype" and "_type" query
   parameters replace the request Content-Type and Accept headers. A
   cross-site form can use "_ctype" to have a text/plain body processed as
   JSON or XML, bypassing Content-Type based CSRF or filtering defences.
   
   Add the "org.apache.cxf.jaxrs.allow.query.type.override" contextual
   property, next to "org.apache.cxf.jaxrs.allow.http.method.override".
   It defaults to true, so behaviour is unchanged; setting it to false
   ignores both query parameters.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to