fnp
/
django-cas-provider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
64e2271
)
Changed line endings in validate response from <CR><LF> to <LF> to be compatible...
author
zuber
<marek@stepniowski.com>
Mon, 5 Oct 2009 11:28:39 +0000
(13:28 +0200)
committer
zuber
<marek@stepniowski.com>
Mon, 5 Oct 2009 11:28:39 +0000
(13:28 +0200)
cas_provider/views.py
patch
|
blob
|
history
diff --git
a/cas_provider/views.py
b/cas_provider/views.py
index
02456fe
..
c898b78
100644
(file)
--- a/
cas_provider/views.py
+++ b/
cas_provider/views.py
@@
-59,10
+59,10
@@
def validate(request):
ticket = ServiceTicket.objects.get(ticket=ticket_string)
username = ticket.user.username
ticket.delete()
- return HttpResponse("yes\n
\r%s\n\r
" % username)
+ return HttpResponse("yes\n
%s\n
" % username)
except:
pass
- return HttpResponse("no\n\
r\n\r
")
+ return HttpResponse("no\n\
n
")
def service_validate(request):
service = request.GET.get('service', None)