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 2003/04/25 21:54:21 UTC

DO NOT REPLY [Bug 19335] New: - Some form input characters are being html encoded

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19335>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19335

Some form input characters are being html encoded

           Summary: Some form input characters are being html encoded
           Product: Struts
           Version: 1.1 RC1
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: cbook@rim.net


Using the follwing form:
<html:form action="/someaction.do" method="post">
  <html:text property="someproperty"/>
</html:form>

Enter "�" into the form and submit.

in the action:

String var = (String)PropertyUtils.getSimpleProperty(form, "someproperty");

The value in var is "&#263;".

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org