1. 05 May, 2013 2 commits
  2. 04 May, 2013 1 commit
  3. 01 May, 2013 2 commits
  4. 12 Apr, 2013 1 commit
  5. 11 Apr, 2013 2 commits
  6. 09 Apr, 2013 2 commits
  7. 07 Apr, 2013 3 commits
  8. 05 Apr, 2013 3 commits
  9. 04 Apr, 2013 3 commits
  10. 03 Apr, 2013 2 commits
    • add macros to tables · 906d0d85
      Colin Viebrock committed
    • 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
  11. 02 Apr, 2013 2 commits
  12. 29 Mar, 2013 4 commits
  13. 28 Mar, 2013 13 commits