You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2006/01/05 22:51:15 UTC
svn commit: r366305 - in /tomcat/container/tc5.5.x:
catalina/src/share/org/apache/catalina/servlets/CGIServlet.java
webapps/docs/changelog.xml
Author: markt
Date: Thu Jan 5 13:51:10 2006
New Revision: 366305
URL: http://svn.apache.org/viewcvs?rev=366305&view=rev
Log:
Fix CGIServlet so reading environment variables works in Windows 2003
Modified:
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java
tomcat/container/tc5.5.x/webapps/docs/changelog.xml
Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java?rev=366305&r1=366304&r2=366305&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java (original)
+++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java Thu Jan 5 13:51:10 2006
@@ -670,7 +670,7 @@
p = r.exec( "command.com /c set" );
ignoreCase = true;
} else if ( (OS.indexOf("nt") > -1)
- || (OS.indexOf("windows 2000") > -1)
+ || (OS.indexOf("windows 20") > -1)
|| (OS.indexOf("windows xp") > -1) ) {
// thanks to JuanFran for the xp fix!
p = r.exec( "cmd.exe /c set" );
Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=366305&r1=366304&r2=366305&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Thu Jan 5 13:51:10 2006
@@ -20,6 +20,10 @@
<fix>
<bug>23950</bug>: Context.listBindings() should return objects not references. (markt)
</fix>
+ <fix>
+ <bug>38124</bug>: Add support for Windows 20xx when reading environment
+ variables in CGIServlet. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Cluster">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org