https://bz.apache.org/bugzilla/show_bug.cgi?id=58096
--- Comment #5 from Xuan MA ---
Thanks, your fix is much better than mine, I need to learn more about Tomcat
codebase :)
--
You are receiving this mail because:
You are the assignee for the bug.
--
https://bz.apache.org/bugzilla/show_bug.cgi?id=58096
Mark Thomas changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://bz.apache.org/bugzilla/show_bug.cgi?id=58096
Mark Thomas changed:
What|Removed |Added
Product|Tomcat 8|Tomcat 7
Component|Catalina
https://bz.apache.org/bugzilla/show_bug.cgi?id=58096
--- Comment #2 from Xuan MA ---
I create a new fix based on Mark's comment:
https://github.com/SuperMMX/tomcat/commit/1e5335629ca48608d59b3bc1247c853920157d46
--
You are receiving this mail because:
You are the assignee for the bug.
---
https://bz.apache.org/bugzilla/show_bug.cgi?id=58096
Xuan MA changed:
What|Removed |Added
OS||All
--- Comment #1 from Xuan MA ---
Comment
https://bz.apache.org/bugzilla/show_bug.cgi?id=58096
Bug ID: 58096
Summary: Incorrect CodeSource location from ProtectionDomain
for classes in WEB-INF/classes
Product: Tomcat 8
Version: trunk
Hardware: PC
Hi everyone,
I tried a very simple webapp, with a test.jsp and
WEB-INF/classes/test/pkg/Test.class on both Tomcat 7 and Tomcat 8 latest
version (with Java 7 and Java 8 respectively)
test.jsp
Test: <%=
test.pkg.Test.class.getProtectionDomain().getCodeSource().getLocation() %>
==