Author: markt
Date: Sat Jan 13 18:45:48 2007
New Revision: 496022
URL: http://svn.apache.org/viewvc?view=rev&rev=496022
Log:
Fix bug 41327. Show full request URI for a 404. Patch provided by Vijay.
Modified:
tomcat/container/tc5.5.x/webapps/docs/changelog.xml
tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java
Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?view=diff&rev=496022&r1=496021&r2=496022
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sat Jan 13 18:45:48 2007
@@ -228,6 +228,10 @@
<subsection name="Jasper">
<changelog>
<fix>
+ <bug>39975</bug>: don't have static Log references to prevent
+ classloader leaks. (yoavs)
+ </fix>
+ <fix>
<bug>40797</bug>: This was a regression as a result of the fix for
<bug>33407</bug>. TLD validation was failing as a result of the use
of the escape character (0x1b) as a temporary replacement for \$.
@@ -238,15 +242,16 @@
<bug>41057</bug>: Make jsp:plugin output XHTML compliant. (markt)
</fix>
<fix>
+ <bug>41327</bug>: Show full URI for a 404. Patch provided by Vijay.
+ (markt)
+ </fix>
+ <fix>
When displaying JSP source after an exception, handle included files.
(markt)
</fix>
<fix>
Display the JSP source when a compilation error occurs and display
the correct line number rather than start of a scriptlet block. (markt)
- </fix>
- <fix>
- <bug>39975</bug>: don't have static Log references to prevent
classloader leaks. (yoavs)
</fix>
</changelog>
</subsection>
Modified:
tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java
URL:
http://svn.apache.org/viewvc/tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java?view=diff&rev=496022&r1=496021&r2=496022
==============================================================================
--- tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java
(original)
+++ tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/servlet/JspServlet.java
Sat Jan 13 18:45:48 2007
@@ -301,7 +301,7 @@
// creating unnecessary directories and files.
if (null == context.getResource(jspUri)) {
response.sendError(HttpServletResponse.SC_NOT_FOUND,
- jspUri);
+ request.getRequestURI());
return;
}
boolean isErrorPage = exception != null;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]