Commit 012f7219 authored by marcus-tun's avatar marcus-tun
Browse files

removed debug showstopper

parent 738e0818
...@@ -83,14 +83,16 @@ def handler(req): ...@@ -83,14 +83,16 @@ def handler(req):
# we expect the data via post in encrypted assertion. # we expect the data via post in encrypted assertion.
# we will return the url of where to collect the assertion # we will return the url of where to collect the assertion
# request. # request.
if req.method != 'POST': if req.method != 'POST':
req.write("Error, i was expecting a post request") req.write("Error, i was expecting a post request")
return apache.OK return apache.OK
log_path=req.document_root() + '/assertions/' + 'js-log' # This debug statement will destroy the whole processing
logfile=open(log_path, 'w') #log_path=req.document_root() + '/assertions/' + 'js-log'
logfile.write(req.read()) #logfile=open(log_path, 'w')
logfile.close() #logfile.write(req.read())
#logfile.close()
form = util.FieldStorage(req) form = util.FieldStorage(req)
if not form.has_key("encrypted_assertion"): if not form.has_key("encrypted_assertion"):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment