https://issues.apache.org/bugzilla/show_bug.cgi?id=53929

--- Comment #3 from [email protected] ---
Created attachment 30827
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30827&action=edit
proposed patch

This patch fixes this issue for me without breaking ABI. Normally r->uri and
r->filename ends with "/" in the case of directory request. If mod_rewrite
rewrites URL later in hook_fixup, it changes r->filename. In this patch, I
check if the r->filename still ends with "/" and if not, return DECLINED in
mod_dir fixup hook.

I think there is still problem if you rewrite r->filename from directory to
directory, but it should fix case when you rewrite from directory to file. I
don't see immediate solution for directory to directory rewrite.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to