Commit 2c2dcdc5 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #99 from sparksp/aeae2c84

Secure extracts
parents c00738a0 aeae2c84
...@@ -89,7 +89,7 @@ class Grammar { ...@@ -89,7 +89,7 @@ class Grammar {
foreach ($query->joins as $join) foreach ($query->joins as $join)
{ {
extract($join); extract($join, EXTR_SKIP);
list($column1, $column2) = array($this->wrap($column1), $this->wrap($column2)); list($column1, $column2) = array($this->wrap($column1), $this->wrap($column2));
......
...@@ -30,7 +30,7 @@ class Cookie implements Driver { ...@@ -30,7 +30,7 @@ class Cookie implements Driver {
*/ */
public function save($session, $config, $exists) public function save($session, $config, $exists)
{ {
extract($config); extract($config, EXTR_SKIP);
$payload = Crypter::encrypt(serialize($session)); $payload = Crypter::encrypt(serialize($session));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment