From: Berke Viktor Date: Fri, 3 Oct 2014 13:35:56 +0000 (+0200) Subject: Treat .ico and .jpeg files as images X-Git-Tag: v1.6.1~10^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1bfe119cc7b46f80f4568e92b00893b98592753e;p=gitblit.git Treat .ico and .jpeg files as images --- diff --git a/src/main/distrib/data/gitblit.properties b/src/main/distrib/data/gitblit.properties index 407a4831..f53cc112 100644 --- a/src/main/distrib/data/gitblit.properties +++ b/src/main/distrib/data/gitblit.properties @@ -1322,7 +1322,7 @@ web.tracwikiExtensions = tracwiki # # SPACE-DELIMITED # SINCE 0.5.0 -web.imageExtensions = bmp jpg gif png +web.imageExtensions = bmp jpg jpeg gif png ico # Registered extensions for binary blobs # diff --git a/src/test/config/test-gitblit.properties b/src/test/config/test-gitblit.properties index 1a52eaf4..78e9ab95 100644 --- a/src/test/config/test-gitblit.properties +++ b/src/test/config/test-gitblit.properties @@ -51,7 +51,7 @@ web.summaryRefsCount = 5 web.itemsPerPage = 50 web.prettyPrintExtensions = c cpp cs css htm html java js php pl prefs properties py rb sh sql xml vb web.markdownExtensions = md mkd markdown MD MKD -web.imageExtensions = bmp jpg gif png +web.imageExtensions = bmp jpg jpeg gif png ico web.binaryExtensions = jar pdf tar.gz zip web.aggressiveHeapManagement = false web.debugMode = false diff --git a/src/test/config/test-ui-gitblit.properties b/src/test/config/test-ui-gitblit.properties index c77de1a2..877cbe2a 100644 --- a/src/test/config/test-ui-gitblit.properties +++ b/src/test/config/test-ui-gitblit.properties @@ -746,7 +746,7 @@ web.markdownExtensions = md mkd markdown MD MKD # # SPACE-DELIMITED # SINCE 0.5.0 -web.imageExtensions = bmp jpg gif png +web.imageExtensions = bmp jpg jpeg gif png ico # Registered extensions for binary blobs #