URL Decode the path info to make sure the value can properly be processed (looks like some servlet containers do not decode this themselves)

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@981812 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/compendium/ConfigManager.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/compendium/ConfigManager.java
index d95893b..b1ff55f 100644
--- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/compendium/ConfigManager.java
+++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/compendium/ConfigManager.java
@@ -97,7 +97,7 @@
         if ( pid == null )
         {
             String info = request.getPathInfo();
-            pid = info.substring( info.lastIndexOf( '/' ) + 1 );
+            pid = WebConsoleUtil.urlDecode( info.substring( info.lastIndexOf( '/' ) + 1 ) );
         }
 
         // the filter to select part of the configurations
@@ -403,7 +403,7 @@
                 }
                 catch (IllegalArgumentException t)
                 {
-                    // MetaTypeProvider.getObjectClassDefinition might throw illegal 
+                    // MetaTypeProvider.getObjectClassDefinition might throw illegal
                     // argument exception. So we must catch it here, otherwise the
                     // other configurations will not be shown
                     // See https://issues.apache.org/jira/browse/FELIX-2390