ASF Bugzilla – Attachment 20640 Details for
Bug 43079
pattern verification broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch to SecurityCollection.java to fix the Suspicious warning messages
SecurityCollection.java.patch (text/plain), 588 bytes, created by
John Kew
on 2007-08-10 14:33:48 UTC
(
hide
)
Description:
Patch to SecurityCollection.java to fix the Suspicious warning messages
Filename:
MIME Type:
Creator:
John Kew
Created:
2007-08-10 14:33:48 UTC
Size:
588 bytes
patch
obsolete
>--- SecurityCollection.java.orig 2007-08-10 14:23:50.000000000 -0700 >+++ SecurityCollection.java 2007-08-10 14:17:15.000000000 -0700 >@@ -190,7 +190,7 @@ > > // Bugzilla 34805: add friendly warning. > if(pattern.endsWith("*")) { >- if (pattern.charAt(pattern.length()-1) != '/') { >+ 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" +
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