From 3923b9bbf5b8efa7f5e642c5dcaaeb97aa250ad3 Mon Sep 17 00:00:00 2001 From: Robin Bygrave Date: Thu, 9 Jun 2016 20:19:08 +1200 Subject: [PATCH] Issue #628 resolve by checking for existing jar: prefix on uri - format Signed-off-by: Robin Bygrave --- .../java/org/eclipse/jetty/webapp/MetaInfConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/MetaInfConfiguration.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/MetaInfConfiguration.java index ff0f95411c8..a4ac3c97463 100644 --- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/MetaInfConfiguration.java +++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/MetaInfConfiguration.java @@ -422,8 +422,8 @@ public class MetaInfConfiguration extends AbstractConfiguration return tlds; } - private String uriJarPrefix(URI uri) { - + private String uriJarPrefix(URI uri) + { String uriString = uri.toString(); if (uriString.startsWith("jar:")) { return uriString + "!/";