You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2009/10/31 05:01:17 UTC

svn commit: r831513 - /wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/http/request/WebRequestCodingStrategy.java

Author: ivaynberg
Date: Sat Oct 31 04:01:16 2009
New Revision: 831513

URL: http://svn.apache.org/viewvc?rev=831513&view=rev
Log:
WICKET-2554
Issue: WICKET-2554

Modified:
    wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/http/request/WebRequestCodingStrategy.java

Modified: wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/http/request/WebRequestCodingStrategy.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/http/request/WebRequestCodingStrategy.java?rev=831513&r1=831512&r2=831513&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/http/request/WebRequestCodingStrategy.java (original)
+++ wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/http/request/WebRequestCodingStrategy.java Sat Oct 31 04:01:16 2009
@@ -353,8 +353,7 @@
 		if (url != null)
 		{
 			String result = null;
-
-			if (!sharedResourceURL && portletRequest)
+			if (!UrlUtils.isRelative(url.toString()) || (!sharedResourceURL && portletRequest))
 			{
 				result = url.toString();
 			}