ASF Bugzilla – Attachment 20820 Details for
Bug 43079
pattern verification broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Modified patch to SecurityCollection w/ better link
SecurityCollection.java.patch-2 (text/plain), 1.02 KB, created by
John Kew
on 2007-09-13 10:59:14 UTC
(
hide
)
Description:
Modified patch to SecurityCollection w/ better link
Filename:
MIME Type:
Creator:
John Kew
Created:
2007-09-13 10:59:14 UTC
Size:
1.02 KB
patch
obsolete
>Index: container/catalina/src/share/org/apache/catalina/deploy/SecurityCollection.java >=================================================================== >--- container/catalina/src/share/org/apache/catalina/deploy/SecurityCollection.java (revision 5334) >+++ container/catalina/src/share/org/apache/catalina/deploy/SecurityCollection.java (revision 5335) >@@ -190,10 +190,11 @@ > > // Bugzilla 34805: add friendly warning. > if(pattern.endsWith("*")) { >- if (pattern.charAt(pattern.length()-1) != '/') { >+ // Bugzilla 43079: pattern verification broken >+ if (pattern.charAt(pattern.length()-2) != '/') { > if (log.isDebugEnabled()) { > log.warn("Suspicious url pattern: \"" + pattern + "\"" + >- " - see http://java.sun.com/aboutJava/communityprocess/first/jsr053/servlet23_PFD.pdf" + >+ " - see http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html" + > " section 11.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 Raw
Actions:
View
Attachments on
bug 43079
:
20640
|
20820
|
20821