ASF Bugzilla – Attachment 27466 Details for
Bug 51769
False positive: Somebody try to hack into the site!!!
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix to uri_is_web_inf function.
51769.diff (text/plain), 720 bytes, created by
Christopher Schultz
on 2011-09-07 16:38:50 UTC
(
hide
)
Description:
Proposed fix to uri_is_web_inf function.
Filename:
MIME Type:
Creator:
Christopher Schultz
Created:
2011-09-07 16:38:50 UTC
Size:
720 bytes
patch
obsolete
>Index: native/iis/jk_isapi_plugin.c >=================================================================== >--- native/iis/jk_isapi_plugin.c (revision 1162141) >+++ native/iis/jk_isapi_plugin.c (working copy) >@@ -844,10 +844,20 @@ > > static int uri_is_web_inf(const char *uri) > { >- if (stristr(uri, "/web-inf")) { >+ char *webinf; >+ char *metainf; >+ >+ webinf = stristr(uri, "/web-inf"); >+ >+ if (webinf && (8 == strlen(webinf) >+ || '/' == *(webinf + 8))) > return JK_TRUE; > } >- if (stristr(uri, "/meta-inf")) { >+ >+ metainf = stristr(uri, "/meta-inf"); >+ >+ if (metainf && (9 == strlen(metainf) >+ || '/' == *(metainf + 9))) { > return JK_TRUE; > } >
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 51769
: 27466