J
Jesse Aldridge
I uploaded the following script, called "test.py", 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: http://crookedgames.com/cgi-bin/test.py
Here's the code:
#!/usr/bin/python
print "Content-Type: text/html\n"
print """
<html>
<body>
<form action="test.py" method="post">
<textarea name="data">
</textarea>
<INPUT type="submit" value="Submit">
</form>
</body>
</html>
"""
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: http://crookedgames.com/cgi-bin/test.py
Here's the code:
#!/usr/bin/python
print "Content-Type: text/html\n"
print """
<html>
<body>
<form action="test.py" method="post">
<textarea name="data">
</textarea>
<INPUT type="submit" value="Submit">
</form>
</body>
</html>
"""