Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
marcus.hardt
pluto
Commits
012f7219
Commit
012f7219
authored
Sep 26, 2014
by
marcus-tun
Browse files
removed debug showstopper
parent
738e0818
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/sso.py
View file @
012f7219
...
...
@@ -83,14 +83,16 @@ def handler(req):
# we expect the data via post in encrypted assertion.
# we will return the url of where to collect the assertion
# request.
if
req
.
method
!=
'POST'
:
req
.
write
(
"Error, i was expecting a post request"
)
return
apache
.
OK
log_path
=
req
.
document_root
()
+
'/assertions/'
+
'js-log'
logfile
=
open
(
log_path
,
'w'
)
logfile
.
write
(
req
.
read
())
logfile
.
close
()
# This debug statement will destroy the whole processing
#log_path=req.document_root() + '/assertions/' + 'js-log'
#logfile=open(log_path, 'w')
#logfile.write(req.read())
#logfile.close()
form
=
util
.
FieldStorage
(
req
)
if
not
form
.
has_key
(
"encrypted_assertion"
):
...
...
Write
Preview
Supports
Markdown
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