ASF Bugzilla – Attachment 20351 Details for
Bug 42665
spurious attempt to open ".../file.html/.htaccess"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
"final" patch
httpd-2.2.4-fix_spurious_htaccess_attempt.diff (text/plain), 1021 bytes, created by
Allen
on 2007-06-14 12:48:07 UTC
(
hide
)
Description:
"final" patch
Filename:
MIME Type:
Creator:
Allen
Created:
2007-06-14 12:48:07 UTC
Size:
1021 bytes
patch
obsolete
>--- request.c-2.2.4 2007-06-14 06:47:44.850623600 -0400 >+++ request.c 2007-06-13 21:34:01.659559100 -0400 >@@ -931,12 +931,20 @@ > #ifdef CASE_BLIND_FILESYSTEM > && (filename_len <= canonical_len) > #endif >- && ((opts.opts & (OPT_SYM_OWNER | OPT_SYM_LINKS)) == OPT_SYM_LINKS)) >+ && (opts.opts & OPT_SYM_LINKS) ) > { >- >- thisinfo.filetype = APR_DIR; >- ++seg; >- continue; >+ if ((r->path_info && *r->path_info) || r->finfo.filetype == APR_DIR) >+ { >+ thisinfo.filetype = APR_DIR; >+ ++seg; >+ continue; >+ } >+ else if (r->finfo.filetype == APR_REG) >+ { >+ thisinfo.filetype = APR_REG; >+ ++seg; >+ break; >+ } > } > > /* We choose apr_stat with flag APR_FINFO_LINK here, rather that
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42665
: 20351