httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46380] Apache 2.2.10 and suexec extra argv
Date Fri, 12 Dec 2008 04:50:15 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46380


Russell Rademacher <russ@cpanel.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




--- Comment #2 from Russell Rademacher <russ@cpanel.net>  2008-12-11 20:50:14 PST ---
http://xpthemetest.com/cgi-bin/test.cgi


This is the code for the script:

---------------------
#!/usr/bin/perl

print "Content-Type: text/html\n\n";
print "Argument count: $#ARGV<br>\n";
for ($i = 0; $i <= $#ARGV; $i++){
   print "Argument $i is: ";
   print @ARGV[$i];
   print "<br>\n";
}
1;
---------------------

prior to 2.2.10, it would return:

Argument count: -1


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message