ASF Bugzilla – Attachment 24978 Details for
Bug 48737
JspCompilationContext assumes that tagfile with a path starting with META-INF are in jars without checking
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to JspCompilationContext
tagfile_in_metainf_patch.diff (text/plain), 764 bytes, created by
Fabrizio Giustina
on 2010-02-13 18:19:03 UTC
(
hide
)
Description:
patch to JspCompilationContext
Filename:
MIME Type:
Creator:
Fabrizio Giustina
Created:
2010-02-13 18:19:03 UTC
Size:
764 bytes
patch
obsolete
>Index: java/org/apache/jasper/JspCompilationContext.java >=================================================================== >--- java/org/apache/jasper/JspCompilationContext.java (revision 909846) >+++ java/org/apache/jasper/JspCompilationContext.java (working copy) >@@ -295,6 +295,10 @@ > if (jarUrl != null) { > result = new URL(jarUrl.toExternalForm() + res.substring(1)); > } >+ else { >+ // the path starts with /META-INF but the file is not in a jar >+ result = context.getResource(canonicalURI(res)); >+ } > } else if (res.startsWith("jar:file:")) { > // This is a tag file packaged in a jar that is being checked > // for a dependency
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 48737
: 24978