Issue #1475 - retain encoded form of path
This commit is contained in:
parent
2f870b0923
commit
874662fe4a
|
@ -1085,7 +1085,8 @@ public class URIUtil
|
|||
{
|
||||
if (!"jar".equals(uri.getScheme()))
|
||||
return uri;
|
||||
String s = uri.getSchemeSpecificPart();
|
||||
// Get SSP (retaining encoded form)
|
||||
String s = uri.getRawSchemeSpecificPart();
|
||||
int bang_slash = s.indexOf("!/");
|
||||
if (bang_slash>=0)
|
||||
s=s.substring(0,bang_slash);
|
||||
|
|
Loading…
Reference in New Issue