Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2011-05-06 19:44:17 +0000
committerJohn Arthorne2011-05-06 19:44:17 +0000
commitf24ac69cd1f313eee916c905f46b151b21ee81dd (patch)
treed9db54131c085c1efa0bc92dc85f2e0423fe6d75
parent920a9f54db89bae2f07e85754c324f5ad04cd676 (diff)
downloadrt.equinox.bundles-f24ac69cd1f313eee916c905f46b151b21ee81dd.tar.gz
rt.equinox.bundles-f24ac69cd1f313eee916c905f46b151b21ee81dd.tar.xz
rt.equinox.bundles-f24ac69cd1f313eee916c905f46b151b21ee81dd.zip
Bug 344760 - URIUtil#append Can't handle files with square brackets in the namev20110506
-rw-r--r--bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/URIUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/URIUtil.java b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/URIUtil.java
index 0e4719fea..a568942b8 100644
--- a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/URIUtil.java
+++ b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/URIUtil.java
@@ -62,7 +62,7 @@ public final class URIUtil {
//if the base is already a directory then resolve will just do the right thing
URI result;
if (path.endsWith("/")) {//$NON-NLS-1$
- result = base.resolve(new URI(null, extension, null));
+ result = base.resolve(new URI(null, null, extension, null));
if (decodeResolved) {
//see bug 267219 - Java 1.4 implementation of URI#resolve incorrectly encoded the ssp
result = new URI(toUnencodedString(result));

Back to the top