ASF Bugzilla – Attachment 20796 Details for
Bug 35256
%2F will be decoded in PATH_INFO (Documentation to AllowEncodedSlashes says no decoding will be done)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch allows letting %2f and %2c to pass unmolested in urldecode.
bug.35256 (text/plain), 575 bytes, created by
rahul
on 2007-09-12 06:12:47 UTC
(
hide
)
Description:
Patch allows letting %2f and %2c to pass unmolested in urldecode.
Filename:
MIME Type:
Creator:
rahul
Created:
2007-09-12 06:12:47 UTC
Size:
575 bytes
patch
obsolete
>Index: server/util.c >=================================================================== >--- server/util.c (revision 574932) >+++ server/util.c (working copy) >@@ -1617,6 +1617,12 @@ > if (decoded == '\0') { > badpath = 1; > } >+ if ((decoded == '/') || (decoded == '\\')) { >+ int j; >+ for (j=0; j<3; ++j) { >+ *x++ = *y++; >+ } >+ } > else { > *x = decoded; > y += 2;
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 35256
:
15682
| 20796 |
20856