Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000149 [Resin] minor always 05-09-05 00:00 05-11-05 00:00
Reporter klaus.friedel View Status public  
Assigned To
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.14 Product Version 3.0.12
  Product Build 3.0.12
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
Attached Files

- Relationships

- Notes
(0000181)
ferg
05-09-05 00:00

jsp/184s
 

- Issue History
Date Modified Username Field Change
05-09-05 00:00 klaus.friedel New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.14


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker