| Mantis - Resin | |||||
| Viewing Issue Advanced Details | |||||
|  | |||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | 
| 3757 | major | always | 11-12-09 09:42 | 11-15-10 10:18 | |
|  | |||||
| Reporter: | ferg | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.1.8 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.14 | ||
|  | |||||
| 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: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|  | |||||
| 
 | 
 | ||||