Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Commit

Permalink
Remove text/html as a safe mimetype
Browse files Browse the repository at this point in the history
The non-default safe mimetype in gerrit exists purely to proect installs
against setting this - when set, downloading a text/html file will
result in that file being rendered.

Change-Id: I648ada0b26aaf35ece9ef57f609b46f23f6e422a
  • Loading branch information
greghaynes committed Jun 21, 2016
1 parent c785f75 commit 8573c2e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions templates/gerrit.config.erb
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,6 @@
safe = true
[mimetype "text/plain"]
safe = true
[mimetype "text/html"]
safe = true
[mimetype "text/x-puppet"]
safe = true
[mimetype "text/x-ini"]
Expand Down

0 comments on commit 8573c2e

Please sign in to comment.