Skip to content
Snippets Groups Projects
Commit 89ec7be3 authored by Igor Melnikov's avatar Igor Melnikov
Browse files

MAGETWO-54849: Refactor \Magento\Framework\Url::escape to use \Magento\Framework\Escaper::escapeUrl

Fixing unit and static tests
parent 85feb4fb
Branches
No related merge requests found
......@@ -202,7 +202,7 @@ class XssOutputValidator
switch (true)
{
case preg_match(
'/->(escapeUrl|escapeQuote|escapeXssInUrl|.*html.*)\(/simU',
'/->(escapeHtmlAttr|escapeUrl|escapeJs|escapeXssInUrl|.*html.*)\(/simU',
$this->getLastMethod($command)
):
return false;
......
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