httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1388054 - /httpd/httpd/trunk/docs/cgi-examples/printenv.vbs
Date Thu, 20 Sep 2012 14:51:52 GMT
Author: fuankg
Date: Thu Sep 20 14:51:51 2012
New Revision: 1388054

URL: http://svn.apache.org/viewvc?rev=1388054&view=rev
Log:
Make printenv.vbs inactive by default.

Modified:
    httpd/httpd/trunk/docs/cgi-examples/printenv.vbs

Modified: httpd/httpd/trunk/docs/cgi-examples/printenv.vbs
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/cgi-examples/printenv.vbs?rev=1388054&r1=1388053&r2=1388054&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/cgi-examples/printenv.vbs (original)
+++ httpd/httpd/trunk/docs/cgi-examples/printenv.vbs Thu Sep 20 14:51:51 2012
@@ -1,7 +1,15 @@
-'!c:/windows/system32/cscript -nologo
-'#
-'#  printenv -- demo CGI program which just prints its environment
-'#
+'
+
+' To permit this cgi, replace ' on the first line above with the
+' appropriate shebang, f.e. '!c:/windows/system32/cscript -nologo
+'
+' Note that it is subject to cross site scripting attacks on MS IE
+' and any other browser which fails to honor RFC2616, so never use
+' it in a live server environment, it is provided only for testing.
+
+''
+''  printenv -- demo CGI program which just prints its environment
+''
 Option Explicit
 
 Dim objShell, objArray, str, env



Mime
View raw message