]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Make printenv.vbs inactive by default.
authorGuenter Knauf <fuankg@apache.org>
Thu, 20 Sep 2012 14:51:51 +0000 (14:51 +0000)
committerGuenter Knauf <fuankg@apache.org>
Thu, 20 Sep 2012 14:51:51 +0000 (14:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1388054 13f79535-47bb-0310-9956-ffa450edef68

docs/cgi-examples/printenv.vbs

index b7e480d45e7c08431d9791937273a6ff5256aa35..2b37b47e79b4cc8fab49be59443058afd30bd432 100644 (file)
@@ -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