diff options
author | Jan Bartel | 2010-09-22 10:44:37 +0000 |
---|---|---|
committer | Jan Bartel | 2010-09-22 10:44:37 +0000 |
commit | 731aa82359762be095183c56e11cd226f2a5ece2 (patch) | |
tree | e830d66f382301e8598caa5634fa575657560258 | |
parent | 1d8ada80dc58a88c9ab36f4606ce84ae4c0a5031 (diff) | |
download | org.eclipse.jetty.project-731aa82359762be095183c56e11cd226f2a5ece2.tar.gz org.eclipse.jetty.project-731aa82359762be095183c56e11cd226f2a5ece2.tar.xz org.eclipse.jetty.project-731aa82359762be095183c56e11cd226f2a5ece2.zip |
JETTY-1063, JETTY-1136, JETTY-1166, JETTY-1254, 305791
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2296 7e9141cc-0065-0410-87d8-b60c137991c4
-rw-r--r-- | VERSION.txt | 1 | ||||
-rw-r--r-- | jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java | 11 |
2 files changed, 11 insertions, 1 deletions
diff --git a/VERSION.txt b/VERSION.txt index 60548c2083..a88dbf5d50 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -36,6 +36,7 @@ jetty-7.2-SNAPSHOT + 325128 websocket send during onConnect + 325468 Clean work webapp dir before unpack + JETTY-912 added per exchange timeout api + + JETTY-1063 Plugin problems with spaces in classpath resource references + JETTY-1245 Do not use direct buffers with NIO SSL + JETTY-1249 Apply max idle time to all connectors + JETTY-1250 Parallel start of HandlerCollection diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java index 1775b84d0a..485dc12b29 100644 --- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java +++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java @@ -3,6 +3,7 @@ package org.eclipse.jetty.webapp; import java.io.File; import java.io.IOException; import java.net.URI; +import java.net.URISyntaxException; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; @@ -74,7 +75,15 @@ public class WebInfConfiguration extends AbstractConfiguration int i=0; for (URL u : urls) { - containerUris[i++] = u.toURI(); + try + { + containerUris[i] = u.toURI(); + } + catch (URISyntaxException e) + { + containerUris[i] = new URI(u.toString().replaceAll(" ", "%20")); + } + i++; } containerJarNameMatcher.match(containerPattern, containerUris, false); } |