You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/06/14 21:46:06 UTC
DO NOT REPLY [Bug 42665] New: - spurious attempt to open ".../file.html/.htaccess"
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42665>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42665
Summary: spurious attempt to open ".../file.html/.htaccess"
Product: Apache httpd-2
Version: 2.2.4
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: pulsifer3@comcast.net
When processing a "GET /.../file.html", httpd attempts to open the file
"docroot/.../file.html/.htaccess". The OS returns ENOTDIR, and then processing
of the request continues.
A full description of the bug is located at
http://mail-archives.apache.org/mod_mbox/httpd-dev/200706.mbox/%3c004c01c7ac28$aaf63540$670aa8c0@apt23%3e
The "final" patch is located at
http://mail-archives.apache.org/mod_mbox/httpd-dev/200706.mbox/%3c001601c7ae72$1e88b910$640aa8c0@apt23%3e
A description of the fix and some test output are located at
http://mail-archives.apache.org/mod_mbox/httpd-dev/200706.mbox/%3c00a701c7ae24$e06eec50$660aa8c0@apt23%3e
http://mail-archives.apache.org/mod_mbox/httpd-dev/200706.mbox/%3c009b01c7ae14$f47e5f10$660aa8c0@apt23%3e
http://mail-archives.apache.org/mod_mbox/httpd-dev/200706.mbox/%3c00a101c7ae1d$0642e380$660aa8c0@apt23%3e
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 42665] - spurious attempt to open ".../file.html/.htaccess"
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42665>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42665
------- Additional Comments From wrowe@apache.org 2007-07-21 01:34 -------
Your idea is good; however your patch has two flaws...
if r->finfo.filetype is neither APR_DIR nor APR_REG, then what? Whoops.
also I believe your change to validating the symlink status is not a valid
change. Please explain since that has little to do with the proposed problem
and solution.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 42665] - spurious attempt to open ".../file.html/.htaccess"
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42665>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42665
------- Additional Comments From pulsifer3@comcast.net 2007-07-21 02:31 -------
> if r->finfo.filetype is neither APR_DIR nor APR_REG, then what? Whoops.
The patch corrects an optimization. In other words, the code is supposed to
work correctly even without the optimization--the entire optimization could be
removed and the code should still function correctly. The patch corrects the
optimization so that it handles and cases r->finfo.filetype == APR_DIR and
r->finfo.filetype == APR_REG. If r->finfo.filetype is neither APR_DIR nor
APR_REG, then the optimization simply falls through and executes the code below,
which again is intended to correctly handle all cases. So the answer to your
question is: it does whatever it would do if the optimization did not exists.
> also I believe your change to validating the symlink status is not a valid
> change. Please explain since that has little to do with the proposed problem
> and solution.
I don't understand what those two sentences say. Please elaborate.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 42665] - spurious attempt to open ".../file.html/.htaccess"
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42665>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42665
------- Additional Comments From pulsifer3@comcast.net 2007-06-14 12:48 -------
Created an attachment (id=20351)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20351&action=view)
"final" patch
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org