ASF Bugzilla – Attachment 28097 Details for
Bug 52293
antiResourceLocking and unpackWARs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
2011-12-22_tc6_ContextConfig.java.patch (the same as above, but in unified diff format)
2011-12-22_tc6_ContextConfig.java.patch (text/plain), 992 bytes, created by
Konstantin Kolinko
on 2011-12-22 09:42:04 UTC
(
hide
)
Description:
2011-12-22_tc6_ContextConfig.java.patch (the same as above, but in unified diff format)
Filename:
MIME Type:
Creator:
Konstantin Kolinko
Created:
2011-12-22 09:42:04 UTC
Size:
992 bytes
patch
obsolete
>Index: java/org/apache/catalina/startup/ContextConfig.java >=================================================================== >--- java/org/apache/catalina/startup/ContextConfig.java (revision 1222028) >+++ java/org/apache/catalina/startup/ContextConfig.java (working copy) >@@ -964,14 +964,14 @@ > docBase = "ROOT"; > } else { > if (path.startsWith("/")) { >- docBase = path.substring(1); >+ docBase = path.substring(1).replace('/','#'); > } else { >- docBase = path; >+ docBase = path.replace('/','#'); > } > } > > File file = null; >- if (docBase.toLowerCase().endsWith(".war")) { >+ if (originalDocBase.toLowerCase().endsWith(".war")) { > file = new File(System.getProperty("java.io.tmpdir"), > deploymentCount++ + "-" + docBase + ".war"); > } else {
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 52293
:
28034
|
28037
|
28038
| 28097