Author: almaw
Date: Thu Jan 25 15:19:46 2007
New Revision: 500048

URL: http://svn.apache.org/viewvc?view=rev&rev=500048
Log:
For IPageRequestTarget, don't double-encode the URL - just return it.

Modified:
    
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/WebRequestCodingStrategy.java

Modified: 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/WebRequestCodingStrategy.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/WebRequestCodingStrategy.java?view=diff&rev=500048&r1=500047&r2=500048
==============================================================================
--- 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/WebRequestCodingStrategy.java
 (original)
+++ 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/WebRequestCodingStrategy.java
 Thu Jan 25 15:19:46 2007
@@ -248,6 +248,7 @@
                else if (requestTarget instanceof IPageRequestTarget)
                {
                        url = encode(requestCycle, 
(IPageRequestTarget)requestTarget);
+                       return url;
                }
                // fallthough for non-default request targets
                else


Reply via email to