You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/04/12 18:48:10 UTC
[tomcat] 01/02: Make JAR URL generation consistent with how JRE
constructs JAR URLs
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 57bc7099fda29af35c2d8e1af1d5e92618a829f5
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Sun Apr 12 19:42:15 2020 +0100
Make JAR URL generation consistent with how JRE constructs JAR URLs
---
java/org/apache/tomcat/util/buf/UriUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/buf/UriUtil.java b/java/org/apache/tomcat/util/buf/UriUtil.java
index bb32d3b..c034a59 100644
--- a/java/org/apache/tomcat/util/buf/UriUtil.java
+++ b/java/org/apache/tomcat/util/buf/UriUtil.java
@@ -93,7 +93,7 @@ public final class UriUtil {
if (entryPath != null) {
sb.append(makeSafeForJarUrl(entryPath));
}
- return new URL("jar", null, -1, sb.toString());
+ return new URL("jar", "", -1, sb.toString());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org