summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2014-04-16 18:06:53 (EDT)
committerSam Davis2014-04-29 19:24:08 (EDT)
commitded0f8b3857389991d21b39dea2b03142a2d00c9 (patch)
tree84e32f9c4bb8d56cb26b9dd5dfe8a682c9b84b0b
parentadd15440f8ec6ac0fc6b208eb7c1e9ef70b1104d (diff)
downloadorg.eclipse.mylyn.reviews-ded0f8b3857389991d21b39dea2b03142a2d00c9.zip
org.eclipse.mylyn.reviews-ded0f8b3857389991d21b39dea2b03142a2d00c9.tar.gz
org.eclipse.mylyn.reviews-ded0f8b3857389991d21b39dea2b03142a2d00c9.tar.bz2
enable mimetype.image.safe on Gerrit test serverrefs/changes/55/25355/5
ensure we have one test instance with it enabled and one without Change-Id: Ia90b2c88dd504be25c9e1fe192f8e9e527da03b4 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=428477 Signed-off-by: Sam Davis <sam.davis@tasktop.com>
-rw-r--r--org.eclipse.mylyn.gerrit.releng/modules/gerrit/templates/gerrit.config.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.gerrit.releng/modules/gerrit/templates/gerrit.config.erb b/org.eclipse.mylyn.gerrit.releng/modules/gerrit/templates/gerrit.config.erb
index 684f0b3..541b10e 100644
--- a/org.eclipse.mylyn.gerrit.releng/modules/gerrit/templates/gerrit.config.erb
+++ b/org.eclipse.mylyn.gerrit.releng/modules/gerrit/templates/gerrit.config.erb
@@ -34,3 +34,9 @@
[commentlink "tracker"]
match = ([Tt]ask:\\s+)(\\d+)
html = $1<a href=\"http://tracker.mylyn.org/$2\">$2</a>
+
+[mimetype "image/png"]
+ safe = true
+
+[mimetype "image/gif"]
+ safe = false