Skip to content

Commit

Permalink
Merge pull request #452 from pixel-cookers/fixtures-foreign-key
Browse files Browse the repository at this point in the history
Fix profiler do not escape HTML for SQL query
  • Loading branch information
jaugustin committed Nov 9, 2017
2 parents 9bfd59c + 80a2886 commit 6a7bc88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Command/AbstractCommand.php
Expand Up @@ -388,7 +388,7 @@ protected function createBuildTimeFile($file)
<connection>
<dsn>%dsn%</dsn>
<user>%username%</user>
<password>%password%</password>
<password><![CDATA[%password%]]></password>
</connection>
</datasource>
Expand Down
2 changes: 1 addition & 1 deletion Twig/Extension/SyntaxExtension.php
Expand Up @@ -22,7 +22,7 @@ class SyntaxExtension extends \Twig_Extension
public function getFilters()
{
return array(
new \Twig_SimpleFilter('format_sql', array($this, 'formatSQL', array('is_safe' => array('html')))),
new \Twig_SimpleFilter('format_sql', array($this, 'formatSQL'), array('is_safe' => array('html'))),
);
}

Expand Down

0 comments on commit 6a7bc88

Please sign in to comment.