Commit 716b1526 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

Ensure it's abundently clear that these scripts may be bad news

with stupid-assed clients which contravine their prime directives,
such as content-type, or do not harm humans.

Flaws such as utf-7 decoding ensure that even txt->html transforms
are insufficient.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@692727 13f79535-47bb-0310-9956-ffa450edef68
parent d1760ca3
Loading
Loading
Loading
Loading
+10 −1
Changes for docs/cgi-examples/printenv: 10 added lines, 1 removed line.
Original line number Diff line number Diff line
#!/usr/local/bin/perl
#

# To permit this cgi, replace # on the first line above with the
# appropriate #!/path/to/perl shebang, and set this script executable
# with chmod 755.
#
# 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
##
+9 −1
Changes for docs/cgi-examples/test-cgi: 9 added lines, 1 removed line.
Original line number Diff line number Diff line
#!/bin/sh
#

# To permit this cgi, replace # on the first line above with the
# appropriate #!/path/to/sh shebang, and set this script executable
# with chmod 755.
#
# 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.

# disable filename globbing
set -f