Files
gitlabhq/app/controllers/projects
Robert SpeicherandTomasz Maczukin 2da3f39258 Merge branch '17298-wiki-xss' into 'master'
Forbid scripting for wiki files

Wiki files (not pages - files in the repo) are just sent to the browser
with whatever content-type the mime_types gem assigns to them based on
their extension. As this is from the same domain as the GitLab
application, this is an XSS vulnerability.

Set a CSP forbidding all sources for scripting, CSS, XHR, etc. on these
files.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/17298.

See merge request !1969
2016-06-14 22:26:03 +02:00
..
2016-05-13 17:31:58 -05:00
2016-05-03 13:42:56 +02:00
2016-03-07 14:27:53 +01:00
2016-03-22 00:09:20 +01:00
2016-05-16 10:21:51 +01:00