Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
149 | minor | always | 05-09-05 00:00 | 05-11-05 00:00 | |
|
|||||
Reporter: | user161 | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.12 | ||
Product Build: | 3.0.12 | Resolution: | fixed | ||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.14 | ||
|
|||||
Summary: | 0000149: Wrong escape-sequence handling in taglib runtime expressions | ||||
Description: |
RSN-143 If Java code is used as runtime value of taglib attributes escaping with backslashes is not treated right. One of the backslashes vanishes...: <%-- ...assume a existing bean x... --%> <%-- First example: Double backslash treated right --%> <% Pattern testPat = Pattern.compile("\\d"); %> <jsp:setProperty name='x' property='value' value='<%=testPat%>' /> <%-- Second example: Double backslash treated wrong. The compiled .java file only contains one backslash --%> <jsp:setProperty name='x' property='value' value='<%=Pattern.compile("\\d")%>' /> |
||||
Steps To Reproduce: | |||||
Additional Information: | Windows XP, JDK 5 | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|