Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004685 [Resin] minor always 07-26-11 08:08 07-26-11 14:45
Reporter dicr View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.20
Summary 0004685: jsp:include corrupt params
Description Using jsp:include with jsp:param broke params - char '&' translated to '='.
Test page:

=== jspinclude.jsp ===

<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<!DOCTYPE html>
<html><body>
  <jsp:include page="jspinclude.jspf">
    <jsp:param name="str" value="X&X"/>
  </jsp:include>
</body></html>

/===

=== jspinclude.jspf ===

<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<% out.println(request.getParameter("str")); %>

/===





Additional Information all '&' characters in param translated to '='

===
Param str: X&X
Result is: X=X

Param str: X&amp;X
Result is: X=amp;X
Attached Files

- Relationships

- Notes
(0005405)
ferg
07-26-11 14:45

jsp/15lp
 

- Issue History
Date Modified Username Field Change
07-26-11 08:08 dicr New Issue
07-26-11 14:45 ferg Note Added: 0005405
07-26-11 14:45 ferg Assigned To  => ferg
07-26-11 14:45 ferg Status new => closed
07-26-11 14:45 ferg Resolution open => fixed
07-26-11 14:45 ferg Fixed in Version  => 4.0.21
07-26-11 14:45 ferg Additional Information Updated


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