Commits

Marek Stepniowski committed c677197

Changed `<CR><LF>` line endings to `<LF>` in `views.login`. Fixes #2

  • Participants
  • Parent commits 17b01c9

Comments (0)

Files changed (1)

File cas_provider/views.py

             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)