You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2012/09/20 16:51:52 UTC

svn commit: r1388054 - /httpd/httpd/trunk/docs/cgi-examples/printenv.vbs

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