| Mantis - Resin | ||||||||||
| Viewing Issue Advanced Details | ||||||||||
|  | ||||||||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | |||||
| 1510 | major | always | 12-13-06 15:41 | 01-01-07 12:03 | ||||||
|  | ||||||||||
| Reporter: | jwetzler | Platform: | ||||||||
| Assigned To: | ferg | OS: | ||||||||
| Priority: | normal | OS Version: | ||||||||
| Status: | closed | Product Version: | 3.0.19 | |||||||
| Product Build: | Resolution: | duplicate | ||||||||
| Projection: | none | |||||||||
| ETA: | none | Fixed in Version: | ||||||||
|  | ||||||||||
| Summary: | 0001510: redirects that go through the <forward> tag do not go through filters | |||||||||
| Description: | We are using <rewrite-dispatch> to handle our redirects and forwards, and in a few particular cases, we are using the <forward> tag to forward some servlets. We also have a filter, which matches on the url-pattern '*', which these forwarded servlets need to go through. So if we have: <rewrite-dispatch> <forward regexp='/foo/servlet.baz' target='/bar/servlet.baz' </rewrite-dispatch> <filter filter-name='MyFilter' filter-class='sys.filter.MyFilter'/> <filter-mapping url-pattern='*' filter-name='MyFilter'/> Then going to /foo/servlet.baz, it never goes through MyFilter. Going through /bar/servlet.baz does go through MyFilter however. Shouldn't things that get forwarded go through filters too? | |||||||||
| Steps To Reproduce: | ||||||||||
| Additional Information: | ||||||||||
| Relationships | 
 | |||||||||
| Attached Files: | ||||||||||
| Notes | |||||
|  | |||||
| 
 | 
 | ||||