[richfaces-issues] [JBoss JIRA] (RF-12440) RichFaces Calendar outputs unescaped exclamation mark
Richard Kennard (JIRA)
jira-events at lists.jboss.org
Wed Aug 29 00:42:14 EDT 2012
[ https://issues.jboss.org/browse/RF-12440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Kennard updated RF-12440:
---------------------------------
Description:
The RichFaces Calendar control outputs code like this:
/rfRes/calendarIcon.png.ui?v=4.2.2.Final&db=eAH7f-X88f!PZzEAAB5uBeo_&ln=org.richfaces.images
However '!' is not a valid character in a URL, and HtmlUnit complains:
WARNING: Link of '?v=4.2.2.Final&db=eAH7f-X88f!PZzEAAB5uBeo_&ln=org.richfaces.images' in page '...' contained an unencoded character in the query string !
I believe it should be encoded to %21, as defined here:
http://en.wikipedia.org/wiki/Percent-encoding#Percent-encoding_reserved_characters
was:
The RichFaces Calendar control outputs code like this:
/rfRes/calendarIcon.png.ui?v=4.2.2.Final&db=eAH7f-
X88f!PZzEAAB5uBeo_&ln=org.richfaces.images
However '!' is not a valid character in a URL, and HtmlUnit complains:
WARNING: Link of '?v=4.2.2.Final&db=eAH7f-X88f!PZzEAAB5uBeo_&ln=org.richfaces.images' in page '...' contained an unencoded character in the query string (!)
I believe it should be encoded to %21, as defined here:
http://en.wikipedia.org/wiki/Percent-encoding#Percent-encoding_reserved_characters
> RichFaces Calendar outputs unescaped exclamation mark
> -----------------------------------------------------
>
> Key: RF-12440
> URL: https://issues.jboss.org/browse/RF-12440
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.2.2.Final
> Reporter: Richard Kennard
>
> The RichFaces Calendar control outputs code like this:
> /rfRes/calendarIcon.png.ui?v=4.2.2.Final&db=eAH7f-X88f!PZzEAAB5uBeo_&ln=org.richfaces.images
> However '!' is not a valid character in a URL, and HtmlUnit complains:
> WARNING: Link of '?v=4.2.2.Final&db=eAH7f-X88f!PZzEAAB5uBeo_&ln=org.richfaces.images' in page '...' contained an unencoded character in the query string !
> I believe it should be encoded to %21, as defined here:
> http://en.wikipedia.org/wiki/Percent-encoding#Percent-encoding_reserved_characters
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list