Commit 4f8a6724 by Taylor Otwell

Merge pull request #1305 from nmalcolm/develop

Fixes XSS vulnerability in Profiler
parents 4d3c6812 2d5cc12b
......@@ -148,6 +148,7 @@ class Profiler {
$binding = Database::connection()->pdo->quote($binding);
$sql = preg_replace('/\?/', $binding, $sql, 1);
$sql = htmlspecialchars($sql);
}
static::$data['queries'][] = array($sql, $time);
......
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