]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2191 Source cannot be viewed in IE6
authorsimonbrandhof <simon.brandhof@gmail.com>
Mon, 14 Feb 2011 14:27:09 +0000 (15:27 +0100)
committersimonbrandhof <simon.brandhof@gmail.com>
Mon, 14 Feb 2011 14:38:25 +0000 (15:38 +0100)
sonar-server/src/main/webapp/WEB-INF/web.xml

index d5453d1b5626309f53c9aec3145f86ddfc01644e..186d4dde3efbd27c5e0ab380211611660bc5e5f3 100644 (file)
       <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>