Skip to content

Commit

Permalink
Fix space encoded as URI with %20 in UI filename apache#3674
Browse files Browse the repository at this point in the history
  • Loading branch information
nadment committed Mar 6, 2024
1 parent bc88aa5 commit a705b36
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ public void callExtensionPoint(
if (StringUtils.isNotEmpty(homeFolder)) {

FileObject file = HopVfs.getFileObject(ext.filename);
String absoluteFile = file.getName().getURI();
String absoluteFile = file.getName().getPath();

FileObject home = HopVfs.getFileObject(homeFolder);
String absoluteHome = home.getName().getURI();
String absoluteHome = home.getName().getPath();
// Make the URI always end with a /
if (!absoluteHome.endsWith("/")) {
absoluteHome += "/";
Expand Down

0 comments on commit a705b36

Please sign in to comment.