From 0d28caca3f9806a6e0a16c24f99977b36a1afb74 Mon Sep 17 00:00:00 2001 From: Thomas Gutmann Date: Wed, 3 Apr 2024 20:46:32 +0200 Subject: [PATCH] Removed try of unencoded URL --- .../eclipse/birt/report/viewer/utilities/ViewerWebApp.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/ViewerWebApp.java b/viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/ViewerWebApp.java index b097202d39..39e81c879b 100644 --- a/viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/ViewerWebApp.java +++ b/viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/ViewerWebApp.java @@ -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) {