aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2012-04-11 07:03:33 (EDT)
committerThomas Becker2012-04-11 07:03:33 (EDT)
commit543d2a18caf3d10c2b3a91014d8fe93124ce7f69 (patch)
tree39832a83ba9ac82323b822c91a58ef6459e47f31
parent5ddaa6246922252d5332643f1f74f87749bb74a7 (diff)
downloadorg.eclipse.jetty.project-543d2a18caf3d10c2b3a91014d8fe93124ce7f69.zip
org.eclipse.jetty.project-543d2a18caf3d10c2b3a91014d8fe93124ce7f69.tar.gz
org.eclipse.jetty.project-543d2a18caf3d10c2b3a91014d8fe93124ce7f69.tar.bz2
376373: GzipFilter now does not ignore _excludePath + fix for ignored _excludeAgentPatterns if _excludeAgent is setrefs/changes/62/5562/1
-rw-r--r--jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java
index db36f51..94d50de 100644
--- a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java
+++ b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java
@@ -350,7 +350,7 @@ public class GzipFilter extends UserAgentFilter
{
for (String excludedPath : _excludedPaths)
{
- if (requestURI.contains(excludedPath))
+ if (requestURI.startsWith(excludedPath))
{
return true;
}