Skip to content

Commit

Permalink
Removed try of unencoded URL
Browse files Browse the repository at this point in the history
  • Loading branch information
speckyspooky authored and merks committed Apr 4, 2024
1 parent 5a0b91a commit 0d28cac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public void start() throws Exception {
if (webAppUrl != null && webDescriptorUrl != null) {
URI resolvedWebAppUrl = URIUtil.toURI(FileLocator.resolve(webAppUrl)).normalize();
URI resolvedWebDescriptorUrl = URIUtil.toURI(FileLocator.resolve(webDescriptorUrl)).normalize();
this.webAppContext.setBaseResourceAsString(URIUtil.toUnencodedString(resolvedWebAppUrl));
this.webAppContext.setDescriptor(URIUtil.toUnencodedString(resolvedWebDescriptorUrl));
this.webAppContext.setBaseResourceAsString(resolvedWebAppUrl.toString());
this.webAppContext.setDescriptor(resolvedWebDescriptorUrl.toString());
}

if (encoding != null) {
Expand Down

0 comments on commit 0d28cac

Please sign in to comment.