ASF Bugzilla – Attachment 25027 Details for
Bug 48732
[BUG] environment variable SCRIPT_NAME output error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[patch] from 2.2.4 to 2.0.59
48732.patch (text/plain), 482 bytes, created by
Kevin Q
on 2010-02-20 04:01:07 UTC
(
hide
)
Description:
[patch] from 2.2.4 to 2.0.59
Filename:
MIME Type:
Creator:
Kevin Q
Created:
2010-02-20 04:01:07 UTC
Size:
482 bytes
patch
obsolete
>--- httpd-2.0.59/server/util_script.bak 2010-02-20 11:48:36.714888114 +0800 >+++ httpd-2.0.59/server/util_script.c 2010-02-20 11:49:43.704115397 +0800 >@@ -289,7 +289,11 @@ > int lu = strlen(uri); > int lp = strlen(path_info); > >- while (lu-- && lp-- && uri[lu] == path_info[lp]); >+ while (lu-- && lp-- && uri[lu] == path_info[lp]) { >+ if (path_info[lp] == '/') { >+ while (lu && uri[lu-1] == '/') lu--; >+ } >+ } > > if (lu == -1) { > lu = 0;
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 48732
: 25027