Issue #1475 - retain encoded form of path

This commit is contained in:
Joakim Erdfelt 2017-04-20 09:00:48 -07:00
parent 2f870b0923
commit 874662fe4a
1 changed files with 2 additions and 1 deletions

View File

@ -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);