Skip to content
Commit f2d63d35 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Disable automatic evaluation of responses

If a response to a $.ajax() request returns a content type of "application/javascript"
JQuery would previously execute the response body. This is a pretty unexpected
behaviour and can result in a bypass of our Content-Security-Policy as well as
multiple unexpected XSS vectors.
parent cd90685a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment