- 03 Apr, 2013 1 commit
-
-
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
-
- 05 Jan, 2013 1 commit
-
-
Taylor Otwell committed
-
- 25 Sep, 2012 3 commits
-
-
Taylor Otwell committed
-
Taylor Otwell committed
-
Taylor Otwell committed
-
- 27 Jul, 2012 1 commit
-
-
Pascal Borreli committed
-
- 22 Jul, 2012 1 commit
-
-
Signed-off-by: Josh Miller <josh@joshmmiller.com>
Josh Miller committed
-
- 13 Jun, 2012 1 commit
-
-
Signed-off-by: Chris Berthe <chrisberthe@gmail.com>
Chris Berthe committed
-
- 29 May, 2012 1 commit
-
-
Taylor Otwell committed
-
- 11 May, 2012 1 commit
-
-
Franz Liedke committed
-
- 10 May, 2012 1 commit
-
-
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
Colin Viebrock committed
-
- 04 Apr, 2012 2 commits
-
-
Taylor Otwell committed
-
Taylor Otwell committed
-
- 29 Mar, 2012 1 commit
-
-
Taylor Otwell committed
-
- 24 Feb, 2012 2 commits
-
-
Taylor Otwell committed
-
Taylor Otwell committed
-
- 23 Feb, 2012 1 commit
-
-
Taylor Otwell committed
-
- 16 Feb, 2012 1 commit
-
-
Taylor Otwell committed
-
- 12 Feb, 2012 1 commit
-
-
Taylor Otwell committed
-
- 04 Feb, 2012 1 commit
-
-
Phill Sparks committed
-
- 01 Feb, 2012 2 commits
-
-
Taylor Otwell committed
-
Taylor Otwell committed
-
- 31 Jan, 2012 2 commits
-
-
Taylor Otwell committed
-
Taylor Otwell committed
-
- 28 Jan, 2012 1 commit
-
-
Taylor Otwell committed
-
- 27 Jan, 2012 1 commit
-
-
Taylor Otwell committed
-
- 25 Jan, 2012 1 commit
-
-
Taylor Otwell committed
-
- 18 Jan, 2012 1 commit
-
-
Taylor Otwell committed
-
- 16 Jan, 2012 1 commit
-
-
Taylor Otwell committed
-
- 05 Jan, 2012 1 commit
-
-
Taylor Otwell committed
-
- 18 Nov, 2011 2 commits
-
-
Taylor Otwell committed
-
Taylor Otwell committed
-
- 15 Nov, 2011 2 commits
-
-
Phill Sparks committed
-
Taylor Otwell committed
-
- 13 Nov, 2011 1 commit
-
-
Taylor Otwell committed
-
- 02 Nov, 2011 2 commits
-
-
Taylor Otwell committed
-
Taylor Otwell committed
-
- 30 Oct, 2011 1 commit
-
-
Taylor Otwell committed
-
- 22 Oct, 2011 1 commit
-
-
Taylor Otwell committed
-
- 16 Oct, 2011 1 commit
-
-
Taylor Otwell committed
-