Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005862 [Resin] minor always 03-04-15 21:06 03-30-15 16:29
Reporter nam View Status public  
Assigned To ferg
Priority high Resolution fixed  
Status closed   Product Version 4.0.42
Summary 0005862: resin:SetHeader does not work if it comes before rewrite-dispatch
Description (rep by Yoon)

Doesn't work:
-------------------------------------------------------------------------------------
<web-app>
   <resin:SetHeader regexp="^/" name="TestSetHeader" value="true"/>

   <rewrite-dispatch>
      <set request-character-encoding="ISO-8859-1" regexp="^/index.jsp"/>
   </rewrite-dispatch>
</web-app>

Works:
-------------------------------------------------------------------------------------
<web-app>
   <rewrite-dispatch>
      <set request-character-encoding="ISO-8859-1" regexp="^/index.jsp"/>
   </rewrite-dispatch>

   <resin:SetHeader regexp="^/" name="TestSetHeader" value="true"/>
</web-app>
Additional Information
Attached Files

- Relationships

- Notes
(0006604)
ferg
03-30-15 16:29

server/1kka

Note: the change is the addition of resin:SetRequestCharacterEncoding.

The new <resin:XXX> should not be mixed with the older <rewrite-dispatch>.

The purpose of <rewrite-dispatch> is only for backward compatibility.
 

- Issue History
Date Modified Username Field Change
03-04-15 21:06 nam New Issue
03-30-15 16:29 ferg Note Added: 0006604
03-30-15 16:29 ferg Assigned To  => ferg
03-30-15 16:29 ferg Status new => closed
03-30-15 16:29 ferg Resolution open => fixed


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