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
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel