Skip to content

Commit

Permalink
Fix XSS issue reported by sonata-project#1173
Browse files Browse the repository at this point in the history
  • Loading branch information
rande committed Mar 27, 2013
1 parent 3d8818d commit 9fa147d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Twig/Extension/SonataAdminExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function getFilters()
return array(
'render_list_element' => new \Twig_Filter_Method($this, 'renderListElement', array('is_safe' => array('html'))),
'render_view_element' => new \Twig_Filter_Method($this, 'renderViewElement', array('is_safe' => array('html'))),
'render_relation_element' => new \Twig_Filter_Method($this, 'renderRelationElement', array('is_safe' => array('html'))),
'render_relation_element' => new \Twig_Filter_Method($this, 'renderRelationElement'),
'sonata_urlsafeid' => new \Twig_Filter_Method($this, 'getUrlsafeIdentifier'),
);
}
Expand Down

0 comments on commit 9fa147d

Please sign in to comment.