summaryrefslogtreecommitdiffstats
path: root/core/avatar
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-09-14 14:08:16 +0200
committerLukas Reschke <lukas@owncloud.com>2015-09-15 11:42:13 +0200
commitf2d63d351852bea601680da25bc881a3c76701da (patch)
treefbcfe18153f62e80a308c4a3a680fb2ae4f16054 /core/avatar
parentcd90685af13d3fa14b3bd15aa5e6d4ddeee84eb3 (diff)
downloadnextcloud-server-f2d63d351852bea601680da25bc881a3c76701da.tar.gz
nextcloud-server-f2d63d351852bea601680da25bc881a3c76701da.zip
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.
Diffstat (limited to 'core/avatar')
0 files changed, 0 insertions, 0 deletions