You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jb...@apache.org on 2007/03/06 12:03:53 UTC

svn commit: r515074 - in /incubator/wicket/branches/wicket-1.x/wicket/src: main/java/wicket/markup/resolver/AutoLinkResolver.java test/java/wicket/markup/html/autolink/MyPage.html test/java/wicket/markup/html/autolink/MyPageExpectedResult.html

Author: jbq
Date: Tue Mar  6 03:03:52 2007
New Revision: 515074

URL: http://svn.apache.org/viewvc?view=rev&rev=515074
Log:
WICKET-358 Properly decode URLs

Modified:
    incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/resolver/AutoLinkResolver.java
    incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/markup/html/autolink/MyPage.html
    incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/markup/html/autolink/MyPageExpectedResult.html

Modified: incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/resolver/AutoLinkResolver.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/resolver/AutoLinkResolver.java?view=diff&rev=515074&r1=515073&r2=515074
==============================================================================
--- incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/resolver/AutoLinkResolver.java (original)
+++ incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/resolver/AutoLinkResolver.java Tue Mar  6 03:03:52 2007
@@ -118,8 +118,7 @@
 				if (autoLink.resourceReference != null)
 				{
 					// if the resource reference is null, it means that it the
-					// reference
-					// was not found as a pcakge resource
+					// reference was not found as a package resource
 					return autoLink;
 				}
 			}

Modified: incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/markup/html/autolink/MyPage.html
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/markup/html/autolink/MyPage.html?view=diff&rev=515074&r1=515073&r2=515074
==============================================================================
--- incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/markup/html/autolink/MyPage.html (original)
+++ incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/markup/html/autolink/MyPage.html Tue Mar  6 03:03:52 2007
@@ -1,7 +1,7 @@
 
 <wicket:extend>
   <wicket:link>
-    <a href="PageA.html">Page A</a>
+    <a href="PageA.html?a=1">Page A</a>
   </wicket:link>
   MyPage
 </wicket:extend>

Modified: incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/markup/html/autolink/MyPageExpectedResult.html
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/markup/html/autolink/MyPageExpectedResult.html?view=diff&rev=515074&r1=515073&r2=515074
==============================================================================
--- incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/markup/html/autolink/MyPageExpectedResult.html (original)
+++ incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/markup/html/autolink/MyPageExpectedResult.html Tue Mar  6 03:03:52 2007
@@ -9,7 +9,7 @@
     START<br>
     <wicket:child><wicket:extend>
   <wicket:link>
-    <a href="?wicket:bookmarkablePage=%3Awicket.markup.html.autolink.PageA">Page A</a>
+    <a href="?wicket:bookmarkablePage=%3Awicket.markup.html.autolink.PageA&amp;a=1">Page A</a>
   </wicket:link>
   MyPage
 </wicket:extend></wicket:child>