You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jd...@apache.org on 2007/05/12 19:34:56 UTC
svn commit: r537494 -
/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java
Author: jdonnerstag
Date: Sat May 12 10:34:56 2007
New Revision: 537494
URL: http://svn.apache.org/viewvc?view=rev&rev=537494
Log:
wicket-559: LocalizedImageResource escapes ampersands twice (regression)
provided patch applied
Modified:
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java
Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java?view=diff&rev=537494&r1=537493&r2=537494
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java Sat May 12 10:34:56 2007
@@ -317,7 +317,7 @@
}
// Set the SRC attribute to point to the component or shared resource
- tag.put("src", Strings.replaceAll(RequestCycle.get().getOriginalResponse().encodeURL(url), "&", "&"));
+ tag.put("src", RequestCycle.get().getOriginalResponse().encodeURL(url));
}
/**