ASF Bugzilla – Attachment 21499 Details for
Bug 44380
TldConfig / Scan of URL that are not files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to skip invalid URL for the algorithm
tldconfig.patch (text/plain), 909 bytes, created by
Florent BENOIT
on 2008-02-08 05:30:12 UTC
(
hide
)
Description:
Proposed patch to skip invalid URL for the algorithm
Filename:
MIME Type:
Creator:
Florent BENOIT
Created:
2008-02-08 05:30:12 UTC
Size:
909 bytes
patch
obsolete
>Index: /home/benoitf/workspace/tomcat6/java/org/apache/catalina/startup/TldConfig.java >=================================================================== >--- /home/benoitf/workspace/tomcat6/java/org/apache/catalina/startup/TldConfig.java (revision 619869) >+++ /home/benoitf/workspace/tomcat6/java/org/apache/catalina/startup/TldConfig.java (working copy) >@@ -690,6 +690,12 @@ > // This is definitely not as clean as using JAR URLs either > // over file or the custom jndi handler, but a lot less > // buggy overall >+ >+ // Check that the URL is using file protocol, else ignore it >+ if (!"file".equals(urls[i].getProtocol())) { >+ continue; >+ } >+ > File file = null; > try { > file = new File(urls[i].toURI()); >
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 44380
: 21499