Fixed, see http://issues.apache.org/jira/browse/WICKET-251

Eelco

On 1/23/07, Kadir Sener GUMUS <[EMAIL PROTECTED]> wrote:
> Hi all,
> i experienced a problem with "href" attribute of rendered ExternalLink.
> In our application, i needed to parse rendered html in a SaxParser
> implementation. But i couldnt!  When i looked in source codes of
> ExternalLink and Link, i saw the problematic line is that, in ExternalLink
> there is no escaping for & signs.
>
> line 159:
>      tag.put("href", url);
> should be as below
>      tag.put("href" , Strings.replaceAll(url, "&", "&amp;"));       (which
> was already in the Link.java file)
>
>
> Regards
> Kadir
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to