Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003757 [Resin] major always 11-12-09 09:42 11-15-10 10:18
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.14 Product Version 3.1.8
  Product Build
Summary 0003757: filters run twice with rewrite-dispatch
Description (rep by Patrik Stymne)

While trying out my filter i noticed something that might be a bug in
resin. The filter was run twice for every request! The first time the
FilterChain argument to doFilter() was RewriteDispatchFilterChain and
the next time it was ServletFilterChain. I had a <rewrite-dispatch>
segment in my resin.conf file:

   <rewrite-dispatch>
    <dispatch
regexp="\.(swf|jpg|gif|zip|xml|png|mp3|jsp|html|flv|dll|dcr|cct)"/>
    <forward regexp="..."/>
    <forward regexp="..."/>
    <forward regexp="..."/>
   </rewrite-dispatch>

When I removed the <dispatch> tag (which matched the url requested) the
filter was just run once.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004844)
ferg
11-15-10 10:18

server/1k20
 

- Issue History
Date Modified Username Field Change
11-12-09 09:42 ferg New Issue
09-15-10 17:43 reza Severity minor => major
11-15-10 10:18 ferg Note Added: 0004844
11-15-10 10:18 ferg Assigned To  => ferg
11-15-10 10:18 ferg Status new => closed
11-15-10 10:18 ferg Resolution open => fixed
11-15-10 10:18 ferg Fixed in Version  => 4.0.14


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