Commit d3a5a184 authored by Marc Slemko's avatar Marc Slemko
Browse files

Add more extensive checks to mod_include to avoid infinite recursive

includes.

The logic used is commented in the source.  It should be complete
for the current Apache code base, but if something else starts modifying
r->filename outside of a filename translation stage that could change.

The code scans, at each stage, every subrequest for each level of
an internal redirect so it ends up being O(n^2) total in the
number of subrequests and internal redirects, but that shouldn't
be an issue.

PR: 3323
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@82369 13f79535-47bb-0310-9956-ffa450edef68
parent bb028fde
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment