Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001510 [Resin] major always 12-13-06 15:41 01-01-07 12:03
Reporter jwetzler View Status public  
Assigned To ferg
Priority normal Resolution duplicate  
Status closed   Product Version 3.0.19
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?
Additional Information
Attached Files

- Relationships
duplicate of 0001392closed ferg rewrite-dispatch causes filters to be ignored 

- Notes
(0001679)
ferg
01-01-07 12:03

0001514
 

- Issue History
Date Modified Username Field Change
12-13-06 15:41 jwetzler New Issue
12-14-06 12:29 sam Relationship added duplicate of 0001392
01-01-07 12:03 ferg Note Added: 0001679
01-01-07 12:03 ferg Assigned To  => ferg
01-01-07 12:03 ferg Status new => closed
01-01-07 12:03 ferg Resolution open => duplicate


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