You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/10/26 09:24:33 UTC
[Bug 54054] New: 2 CGIServlet's with different Parameter
passShellEnvironment
https://issues.apache.org/bugzilla/show_bug.cgi?id=54054
Priority: P2
Bug ID: 54054
Assignee: dev@tomcat.apache.org
Summary: 2 CGIServlet's with different Parameter
passShellEnvironment
Severity: enhancement
Classification: Unclassified
OS: Linux
Reporter: claus.rieber@googlemail.com
Hardware: PC
Status: NEW
Version: 6.0.36
Component: Catalina
Product: Tomcat 6
Created attachment 29511
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29511&action=edit
2 webapps test1/test2.
I'm running Tomcat 6.0.36 with Java 1.6.0_32 on Ubuntu 12.04 (64 Bit).
I have 2 webapps test1 and test2 which use CGI with CGIServlet.
The difference between test1 and test2 is the Parameter passShellEnvironment.
test1 sets it to true, test2 to false.
When I call .../cgi-bin/getenv.pl, both apps show the complete environment.
I searched the source of CGIServlet and found, that there is a static
Hashtable:
static Hashtable<String,String> shellEnv = new Hashtable<String,String>();
So test1 sets this Hashtable and test2 has it too.
I suggest to remove the static.
Then only test1 has the environment.
In Tomcat 7.0.32 the problem is the same.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 54054] 2 CGIServlet's with different Parameter
passShellEnvironment
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54054
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |normal
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Marking as a bug rather than an enhancement.
Fixed in trunk and 7.0.x and will be in 7.0.33 onwards.
Proposed for 6.0.x.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 54054] 2 CGIServlet's with different Parameter
passShellEnvironment
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54054
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Konstantin Kolinko <kn...@gmail.com> ---
Fixed in 6.0 with r1417882 , will be in 6.0.37 onwards.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org