Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit c677197b3cd17b71f79b8e71f9192ac6c3e2e2b4 1 parent 17b01c9
Marek Stępniowski authored October 15, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  cas_provider/views.py
4  cas_provider/views.py
@@ -58,10 +58,10 @@ def validate(request):
58 58
             ticket = ServiceTicket.objects.get(ticket=ticket_string)
59 59
             username = ticket.user.username
60 60
             ticket.delete()
61  
-            return HttpResponse("yes\r\n%s\r\n" % username)
  61
+            return HttpResponse("yes\n%s\n" % username)
62 62
         except:
63 63
             pass
64  
-    return HttpResponse("no\r\n\r\n")
  64
+    return HttpResponse("no\n\n")
65 65
     
66 66
 def logout(request, template_name='cas/logout.html'):
67 67
     url = request.GET.get('url', None)

0 notes on commit c677197

Please sign in to comment.
Something went wrong with that request. Please try again.