1. 03 Apr, 2013 1 commit
    • Check application.ssl when setting a secure cookie · 785e168f
      Most SLL-related code in Laravel checks to see if `application.ssl`
      is true before doing an action requiring it. `Cookie::put()` is the
      only exception that I've found, to date, that doesn't test for SSL.
      
      This checks to see that the SSL is enabled when attempting to set a
      secure cookie.
      
      To verify, set `application.ssl` to false (without this patch) then
      run:
      
      	Cookie::put('foo', 'bar', 0, '/', null, true);
      
      You will get an exception because of line 90 in `cookie.php`:
      
      		if ($secure and ! Request::secure())
      		{
      			throw new \Exception("Attempting to set secure cookie over HTTP.");
      		}
      
      With this patch you will not get this error unless both `application.ssl`
      is true, and the cookie `$secure` flag is set.
      Robert K committed
  2. 05 Jan, 2013 1 commit
  3. 25 Sep, 2012 3 commits
  4. 27 Jul, 2012 1 commit
  5. 22 Jul, 2012 1 commit
  6. 13 Jun, 2012 1 commit
  7. 29 May, 2012 1 commit
  8. 11 May, 2012 1 commit
  9. 10 May, 2012 1 commit
  10. 04 Apr, 2012 2 commits
  11. 29 Mar, 2012 1 commit
  12. 24 Feb, 2012 2 commits
  13. 23 Feb, 2012 1 commit
  14. 16 Feb, 2012 1 commit
  15. 12 Feb, 2012 1 commit
  16. 04 Feb, 2012 1 commit
  17. 01 Feb, 2012 2 commits
  18. 31 Jan, 2012 2 commits
  19. 28 Jan, 2012 1 commit
  20. 27 Jan, 2012 1 commit
  21. 25 Jan, 2012 1 commit
  22. 18 Jan, 2012 1 commit
  23. 16 Jan, 2012 1 commit
  24. 05 Jan, 2012 1 commit
  25. 18 Nov, 2011 2 commits
  26. 15 Nov, 2011 2 commits
  27. 13 Nov, 2011 1 commit
  28. 02 Nov, 2011 2 commits
  29. 30 Oct, 2011 1 commit
  30. 22 Oct, 2011 1 commit
  31. 16 Oct, 2011 1 commit