Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UCC
progcomp2013
Commits
93279737
Commit
93279737
authored
May 17, 2013
by
Sam Moore
Browse files
Forgot headers
parent
5d8f204c
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/qchess.cgi
100644 → 100755
View file @
93279737
...
@@ -12,6 +12,8 @@ def main(argv):
...
@@ -12,6 +12,8 @@ def main(argv):
form
=
cgi
.
FieldStorage
()
form
=
cgi
.
FieldStorage
()
client
=
cgi
.
escape
(
os
.
environ
[
"REMOTE_ADDR"
])
client
=
cgi
.
escape
(
os
.
environ
[
"REMOTE_ADDR"
])
print
"Content-Type: text/plain
\r\n\r\n
"
try
:
try
:
with
open
(
client
):
pass
with
open
(
client
):
pass
except
IOError
:
except
IOError
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment