Merge ~kstenerud/ubuntu/+source/tomcat8:xenial-tomcat-resource-names-1606331 into ubuntu/+source/tomcat8:ubuntu/xenial-devel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Andreas Hasenack | ||||
Approved revision: | 4d56628304b1c3a940067debbffa71faa7123324 | ||||
Merge reported by: | Andreas Hasenack | ||||
Merged at revision: | 624359d557ebbc7ca6d5d8804090ed30ba018b15 | ||||
Proposed branch: | ~kstenerud/ubuntu/+source/tomcat8:xenial-tomcat-resource-names-1606331 | ||||
Merge into: | ubuntu/+source/tomcat8:ubuntu/xenial-devel | ||||
Diff against target: |
171 lines (+149/-0) 3 files modified
debian/changelog (+7/-0) debian/patches/fix-class-resource-name-filtering.patch (+141/-0) debian/patches/series (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andreas Hasenack | Approve | ||
Canonical Server | Pending | ||
Review via email: mp+359229@code.launchpad.net |
Description of the change
Copied upstream fix http://
PPA: https:/
Test case:
The successful test run should throw a ClassNotFoundEx
# lxc launch ubuntu:xenial tester && lxc exec tester bash
# apt update && apt dist-upgrade -y && apt install -y tomcat8 && mkdir -p /var/lib/
<html>
<head>
<title>
</head>
<body>
<%
Class.
%>
</body>
</html>
' >/var/lib/
# service tomcat8 restart
# curl localhost:
...
An exception occurred processing JSP page /test.jsp at line 8
5: </head>
6: <body>
7: <%
8: Class.forName(
9: %>
10: </body>
11: </html>
...
</pre><p><b>root cause</
...
# add-apt-repository -y ppa:kstenerud/
# service tomcat8 restart
# curl localhost:
...
An exception occurred processing JSP page /test.jsp at line 8
5: </head>
6: <body>
7: <%
8: Class.forName(
9: %>
10: </body>
11: </html>
...
</pre><p><b>root cause</
...
Package Tests: None
n/f, comment inline