You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2014/11/18 03:42:34 UTC
svn commit: r1640276 - in /tomcat/tc8.0.x/trunk: ./
java/org/apache/catalina/core/StandardContext.java
Author: kkolinko
Date: Tue Nov 18 02:42:33 2014
New Revision: 1640276
URL: http://svn.apache.org/r1640276
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=57216
Followup to r1640089. Correct implementation typo.
Merged r1640275 from tomcat/trunk.
Modified:
tomcat/tc8.0.x/trunk/ (props changed)
tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/StandardContext.java
Propchange: tomcat/tc8.0.x/trunk/
------------------------------------------------------------------------------
Merged /tomcat/trunk:r1640275
Modified: tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/StandardContext.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1640276&r1=1640275&r2=1640276&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/StandardContext.java (original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/catalina/core/StandardContext.java Tue Nov 18 02:42:33 2014
@@ -2010,7 +2010,7 @@ public class StandardContext extends Con
public void setPath(String path) {
boolean invalid = false;
if (path == null || path.equals("/")) {
- path = "";
+ this.path = "";
invalid = true;
} else if (!path.equals("") && !path.startsWith("/")) {
this.path = "/" + path;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org