[java-identity-provider COMMIT] /trunk/idp-conf/src/main/resources/system/flows/admin/metrics-flow.xml

noreply at shibboleth.net noreply at shibboleth.net
Fri Oct 14 18:49:15 EDT 2016


Author: scantor
Date: Fri Oct 14 18:49:15 2016
New Revision: 8495

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8495&view=rev
Log:
Add URL Decode step to path-info extraction.

Modified:
    trunk/idp-conf/src/main/resources/system/flows/admin/metrics-flow.xml

Modified: trunk/idp-conf/src/main/resources/system/flows/admin/metrics-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/admin/metrics-flow.xml?rev=8495&r1=8494&r2=8495&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/admin/metrics-flow.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/flows/admin/metrics-flow.xml	Fri Oct 14 18:49:15 2016
@@ -9,7 +9,7 @@
         <!-- Extract PATH_INFO containing metric identifier. -->
         <evaluate expression="externalContext.getNativeRequest().getPathInfo()" result="flowScope.pathInfo" />
         <evaluate expression="flowRequestContext.getActiveFlow().getId()" result="flowScope.flowId" />
-        <evaluate expression="pathInfo.length() gt flowId.length() + 2 ? pathInfo.substring(flowId.length() + 2) : 'all'" result="flowScope.metricId" />
+        <evaluate expression="pathInfo.length() gt flowId.length() + 2 ? T(net.shibboleth.utilities.java.support.net.URISupport).doURLDecode(pathInfo.substring(flowId.length() + 2)) : 'all'" result="flowScope.metricId" />
     </on-start>
     
     <action-state id="InitializeProfileRequestContext">



More information about the commits mailing list