ASF Bugzilla – Attachment 22401 Details for
Bug 41867
<DirectoryMatch> Matches Files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
append trailing slash to directory
patch (text/plain), 526 bytes, created by
rahul
on 2008-08-07 06:19:28 UTC
(
hide
)
Description:
append trailing slash to directory
Filename:
MIME Type:
Creator:
rahul
Created:
2008-08-07 06:19:28 UTC
Size:
526 bytes
patch
obsolete
>Index: server/core.c >=================================================================== >--- server/core.c (revision 683144) >+++ server/core.c (working copy) >@@ -1759,6 +1759,8 @@ > } > } > else if (thiscmd->cmd_data) { /* <DirectoryMatch> */ >+ if (cmd->path[strlen(cmd->path) - 1] != '/') >+ cmd->path = apr_pstrcat(cmd->pool, cmd->path, "/", NULL); > r = ap_pregcomp(cmd->pool, cmd->path, AP_REG_EXTENDED|USE_ICASE); > if (!r) { > return "Regex could not be compiled";
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 41867
: 22401 |
32161
|
32163