ASF Bugzilla – Attachment 20023 Details for
Bug 42202
if you install tomcat in a directory with spaces it ignores TLD files inside jar files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a patch that fixes this bug
windows spaces directory fix.patch (text/plain), 936 bytes, created by
Rodrigo Urubatan
on 2007-04-23 14:08:36 UTC
(
hide
)
Description:
a patch that fixes this bug
Filename:
MIME Type:
Creator:
Rodrigo Urubatan
Created:
2007-04-23 14:08:36 UTC
Size:
936 bytes
patch
obsolete
>Index: catalina/src/share/org/apache/catalina/startup/TldConfig.java >=================================================================== >--- catalina/src/share/org/apache/catalina/startup/TldConfig.java (revision 531574) >+++ catalina/src/share/org/apache/catalina/startup/TldConfig.java (working copy) >@@ -688,12 +688,7 @@ > // This is definitely not as clean as using JAR URLs either > // over file or the custom jndi handler, but a lot less > // buggy overall >- File file = new File(urls[i].getFile()); >- try { >- file = file.getCanonicalFile(); >- } catch (IOException e) { >- // Ignore >- } >+ File file = new File(urls[i].toURI()); > if (!file.exists()) { > continue; > }
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 42202
: 20023