[ http://jira.codehaus.org/browse/DISPL-316?page=comments#action_62682 ] 

fabrizio giustina commented on DISPL-316:
-----------------------------------------

> http://my.portal/myapp?portalparam1=param1&portalparam2=param2 
an escaped ampersand is not valid in the url: it needs to be escaped in the 
document, but the browser should unescape it before following the link and 
sending the request to the server, so 
http://my.portal/myapp?portalparam1=param1&portalparam2=param2 IS the same 
as http://my.portal/myapp?amp;portalparam2=param1&portalparam1=param1

Where are you seeing this problem? How the escaped ampersand is passed to 
displaytag, is this the behaviour of a specific portal server?

> allow ampersand escaped url in requestURI attribute
> ---------------------------------------------------
>
>          Key: DISPL-316
>          URL: http://jira.codehaus.org/browse/DISPL-316
>      Project: DisplayTag
>         Type: Bug

>   Components: HTML Generation
>     Versions: 1.1
>     Reporter: Luca Barozzi
>     Priority: Trivial

>
>
> Passing in an ampersand escaped url in requestURI attribute produces wrong 
> pagination/sorting link urls.
> Say requestURI is: 
> http://my.portal/myapp?portalparam1=param1&portalparam2=param2
> A link url may be: 
> http://my.portal/myapp?amp;portalparam2=param1&portalparam1=param1&page=...
> May be DefaultHref fails to tokenize parameters (row 113 as of version 1.1):
> StringTokenizer paramTokenizer = new StringTokenizer(tokenizer.nextToken(), 
> "&");
> with ampersand escaped urls it happens a token to be amp;portalparam2 instead 
> of portalparam2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to