You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by na...@apache.org on 2024/03/06 19:20:03 UTC
(hop) branch 3674 created (now a705b3607b)
This is an automated email from the ASF dual-hosted git repository.
nadment pushed a change to branch 3674
in repository https://gitbox.apache.org/repos/asf/hop.git
at a705b3607b Fix space encoded as URI with %20 in UI filename #3674
This branch includes the following new commits:
new a705b3607b Fix space encoded as URI with %20 in UI filename #3674
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(hop) 01/01: Fix space encoded as URI with %20 in UI filename #3674
Posted by na...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
nadment pushed a commit to branch 3674
in repository https://gitbox.apache.org/repos/asf/hop.git
commit a705b3607bb5625acc7fcbe3d2c453723541b850
Author: Nicolas Adment <39...@users.noreply.github.com>
AuthorDate: Wed Mar 6 20:19:30 2024 +0100
Fix space encoded as URI with %20 in UI filename #3674
---
.../org/apache/hop/projects/xp/HopGuiFileReplaceHomeVariable.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/misc/projects/src/main/java/org/apache/hop/projects/xp/HopGuiFileReplaceHomeVariable.java b/plugins/misc/projects/src/main/java/org/apache/hop/projects/xp/HopGuiFileReplaceHomeVariable.java
index e178207f2d..92954a0777 100644
--- a/plugins/misc/projects/src/main/java/org/apache/hop/projects/xp/HopGuiFileReplaceHomeVariable.java
+++ b/plugins/misc/projects/src/main/java/org/apache/hop/projects/xp/HopGuiFileReplaceHomeVariable.java
@@ -60,10 +60,10 @@ public class HopGuiFileReplaceHomeVariable implements IExtensionPoint<HopGuiFile
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 += "/";