diff --git a/VERSION.txt b/VERSION.txt index 13eb11a0383..500359001b4 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -3,6 +3,7 @@ jetty-7.2.2-SNAPSHOT + 330208 Support new wording on servlet-mapping and filter-mapping merging from servlet3.0a + 330188 Reject web-fragment.xml with same as another already loaded one + 330229 Jetty tries to parse META-INF/*.tld when jsp-api is not on classpath, causing DTD entity resoluton to fail + + 330417 Atomic PUT in PutFilter jetty-7.2.1.v20101111 11 November 2010 + 324679 Fixed dedection of write before static content diff --git a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PutFilter.java b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PutFilter.java index 858428a9fcf..69afb2534ea 100644 --- a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PutFilter.java +++ b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/PutFilter.java @@ -20,6 +20,7 @@ import java.io.InputStream; import java.io.OutputStream; import java.net.URI; import java.net.URISyntaxException; +import java.util.Arrays; import java.util.HashSet; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; @@ -32,9 +33,11 @@ import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; +import javax.servlet.ServletResponseWrapper; import javax.servlet.UnavailableException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import javax.servlet.http.HttpServletResponseWrapper; import org.eclipse.jetty.util.IO; import org.eclipse.jetty.util.URIUtil; @@ -45,9 +48,10 @@ import org.eclipse.jetty.util.URIUtil; * A Filter that handles PUT, DELETE and MOVE methods. * Files are hidden during PUT operations, so that 404's result. * - * The following init paramters pay be used: