Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-07-01 02:08:06 -0400
committerslewis2008-07-01 02:08:06 -0400
commit5cb366483db9db74c48615b0bb2216669460e4c4 (patch)
tree4c5fd42a899bc8c5b8c8dd35a2fa77c5674e86bf
parent695ad8635ed5b3ca3a3d7364ca4b5d812ebf35f5 (diff)
downloadorg.eclipse.ecf-5cb366483db9db74c48615b0bb2216669460e4c4.tar.gz
org.eclipse.ecf-5cb366483db9db74c48615b0bb2216669460e4c4.tar.xz
org.eclipse.ecf-5cb366483db9db74c48615b0bb2216669460e4c4.zip
Fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=239079 by adding EncodeUtils.decodeSlashes
-rw-r--r--framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/internal/storage/IDEntry.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/internal/storage/IDEntry.java b/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/internal/storage/IDEntry.java
index ca66c241d..d1946d5c2 100644
--- a/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/internal/storage/IDEntry.java
+++ b/framework/bundles/org.eclipse.ecf.storage/src/org/eclipse/ecf/internal/storage/IDEntry.java
@@ -17,6 +17,7 @@ import org.eclipse.core.runtime.Status;
import org.eclipse.ecf.core.identity.*;
import org.eclipse.ecf.storage.IDStoreException;
import org.eclipse.ecf.storage.IIDEntry;
+import org.eclipse.equinox.security.storage.EncodingUtils;
import org.eclipse.equinox.security.storage.ISecurePreferences;
import org.eclipse.osgi.util.NLS;
@@ -93,7 +94,7 @@ public class IDEntry implements IIDEntry {
* @see org.eclipse.ecf.storage.IIDEntry#createID()
*/
public ID createID() throws IDCreateException {
- return IDFactory.getDefault().createID(prefs.parent().name(), prefs.name());
+ return IDFactory.getDefault().createID(prefs.parent().name(), EncodingUtils.decodeSlashes(prefs.name()));
}
/* (non-Javadoc)

Back to the top