You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/12/08 12:47:23 UTC
DO NOT REPLY [Bug 32584] New: -
MessageResources - 'escape' function blocks possiblity of escaping quotes and parameters
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32584>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32584
Summary: MessageResources - 'escape' function blocks possiblity
of escaping quotes and parameters
Product: Struts
Version: 1.2.4
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P5
Component: Utilities
AssignedTo: dev@struts.apache.org
ReportedBy: tomasz.bech@bull.com.pl
Because of unconditional escaping (doubling) of ' in MessageResources.escape()
escaping is not possible.
For example not possible pass message: My text '{0}'
from resources by bean:message.
(sugested '{'0} or any others also doesn't work)
Solution: smarter escape or new attribute for bean:message and new parameter for
function getMessage: skipDoublingEscape, or remove this bloody escape function
at all (last one breaks compatibility back, but what was the reson of such
implementation of escape()?)
Thanks,
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org