summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-02-14 15:27:09 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-02-14 15:38:25 +0100
commite4a24c9ae7960c079d6463c67a9c6b2ce3c53dec (patch)
treee79f429ab7e766a0c16ba952fcb0a399834dc6c2 /sonar-server/src/main
parenteddf00038c9f859f371a798ee5417d2eed5cdc45 (diff)
downloadsonarqube-e4a24c9ae7960c079d6463c67a9c6b2ce3c53dec.tar.gz
sonarqube-e4a24c9ae7960c079d6463c67a9c6b2ce3c53dec.zip
SONAR-2191 Source cannot be viewed in IE6
Diffstat (limited to 'sonar-server/src/main')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/web.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/web.xml b/sonar-server/src/main/webapp/WEB-INF/web.xml
index d5453d1b562..186d4dde3ef 100644
--- a/sonar-server/src/main/webapp/WEB-INF/web.xml
+++ b/sonar-server/src/main/webapp/WEB-INF/web.xml
@@ -52,6 +52,22 @@
<param-name>bufferSize</param-name>
<param-value>16384</param-value>
</init-param>
+
+ <!--
+ IE6 does not correctly support GZIP compression : http://jira.codehaus.org/browse/SONAR-2191
+ Some links :
+ http://comments.gmane.org/gmane.org.google.gwt/50660
+ http://stackoverflow.com/questions/138880/ie6-freezes-due-to-server-configuration/422730#422730
+ http://sebduggan.com/posts/ie6-gzip-bug-solved-using-isapi-rewrite
+ -->
+ <init-param>
+ <param-name>userAgent</param-name>
+ <param-value>(?:Mozilla[^\(]*\(compatible;\s*+([^;]*);.*)|(?:.*?([^\s]+/[^\s]+).*)</param-value>
+ </init-param>
+ <init-param>
+ <param-name>excludedAgents</param-name>
+ <param-value>MSIE 6.0</param-value>
+ </init-param>
</filter>
<filter-mapping>
<filter-name>GZIPFilter</filter-name>