tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10713] New: - [PATCH] Backslashes quoting quotes in attributes does not work
Date Thu, 11 Jul 2002 19:47:13 GMT
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=10713>.
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=10713

[PATCH] Backslashes quoting quotes in attributes does not work

           Summary: [PATCH] Backslashes quoting quotes in attributes does
                    not work
           Product: Tomcat 4
           Version: 4.1.7
          Platform: All
               URL: http://www.freiheit.com/users/hzeller/BackslashInAttribu
                    teValue-BUG.patch.gz
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: H.Zeller@acm.org


[version: current CVS] 
Using the quoting character '\' (backslash) in Tag-Attributes does not work  
as expected. Writing this for instance  
<my:tag value="foo\"bar\""/>  
won't work, since the " before bar is regarded as closing quote for the  
attribute.  
  
Symptom:  
a JspException with 'jsp.error.attribute.noequal' is thrown, since the  
remaining bar... is regarded as name of the next attribute which of course has  
not equals sign.  
  
Solution:  
overread the next character if a backslash is seen. An conservative  
implementation of this fix you find at  
  
<http://www.freiheit.com/users/hzeller/BackslashInAttributeValue-BUG.patch.gz> 
this is against a current CVS.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message