httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17629] filter handling issues with subrequests and internal redirects
Date Mon, 07 Jun 2010 09:07:29 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=17629

--- Comment #41 from Joe Orton <jorton@redhat.com> 2010-06-07 05:07:20 EDT ---
Doing this:

     if (new->main) {
+        new->output_filters = r->output_filters;
+        new->input_filters = r->input_filters;

seems attractive, and clearly fixes this particular bug, but I think it's a
regression.  

The output of the internal redirect should be equivalent to a client following
an ("external", if you will) HTTP redirect.  Inheriting the entire filter chain
for an internal redirect, any (resource/content-level) filters which applied to
the original location would be applied to the redirect location.

Imagine you have some content-transforming filter applied to resources in /a/
but not in /b/.  Any internal redirect from /a/foo to /b/bar should hence act
as if the client requested /b/bar directly -- without that filter applied.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message