You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/11/13 10:21:21 UTC

svn commit: r474208 - /lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap

Author: andreas
Date: Mon Nov 13 01:21:20 2006
New Revision: 474208

URL: http://svn.apache.org/viewvc?view=rev&rev=474208
Log:
Encode referrer query string to avoid matching wrong request parameters

Modified:
    lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap

Modified: lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap?view=diff&rev=474208&r1=474207&r2=474208
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap (original)
+++ lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap Mon Nov 13 01:21:20 2006
@@ -111,7 +111,7 @@
       <map:act type="authorizer">
         <map:mount uri-prefix="" src="global-sitemap.xmap" check-reload="true" reload-method="synchron"/>
       </map:act>
-      <map:redirect-to uri="{request:requestURI}?lenya.usecase=ac.login&amp;referrerQueryString={request:queryString}" session="true"/>        
+      <map:redirect-to session="true" uri="{request:requestURI}?lenya.usecase=ac.login&amp;referrerQueryString={url-encode:{request:queryString}}"/>        
     </map:match>
 
     </map:pipeline>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org