From c677197b3cd17b71f79b8e71f9192ac6c3e2e2b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20St=C4=99pniowski?= Date: Sat, 15 Oct 2011 12:38:28 +0200 Subject: [PATCH] Changed `` line endings to `` in `views.login`. Fixes #2 --- cas_provider/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cas_provider/views.py b/cas_provider/views.py index d64aa50..42faf0a 100644 --- a/cas_provider/views.py +++ b/cas_provider/views.py @@ -58,10 +58,10 @@ def validate(request): ticket = ServiceTicket.objects.get(ticket=ticket_string) username = ticket.user.username ticket.delete() - return HttpResponse("yes\r\n%s\r\n" % username) + return HttpResponse("yes\n%s\n" % username) except: pass - return HttpResponse("no\r\n\r\n") + return HttpResponse("no\n\n") def logout(request, template_name='cas/logout.html'): url = request.GET.get('url', None) -- 2.20.1