Weird cgi error

Jesse Aldridge JesseAldridge at
Mon Feb 25 08:40:25 CET 2008

I uploaded the following script, called "", to my webhost.
It works find except when I input the string "python ".  Note that's
the word "python" followed by a space.  If I submit that I get a 403
error.  It seems to work fine with any other string.
What's going on here?

Here's the script in action:

Here's the code:

print "Content-Type: text/html\n"
print """
  <form action="" method="post">
    <textarea name="data">
  <INPUT type="submit" value="Submit">

More information about the Python-list mailing list