[ 
http://jira.codehaus.org/browse/DISPL-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

fabrizio giustina resolved DISPL-316.
-------------------------------------

    Resolution: Incomplete

escaped ampersands (&) must not be used in tag attributes. The methot you 
were using was escaping ampersands because it was intended to produce urls to 
be used in html links.

> allow ampersand escaped url in requestURI attribute
> ---------------------------------------------------
>
>                 Key: DISPL-316
>                 URL: http://jira.codehaus.org/browse/DISPL-316
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: HTML Generation
>    Affects 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

        

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to