forked from wallabag/wallabag
CS
This commit is contained in:
@ -226,7 +226,7 @@ class ContentProxyTest extends \PHPUnit_Framework_TestCase
|
|||||||
'authors' => ['Jeremy', 'Nico', 'Thomas'],
|
'authors' => ['Jeremy', 'Nico', 'Thomas'],
|
||||||
'all_headers' => [
|
'all_headers' => [
|
||||||
'Cache-Control' => 'no-cache',
|
'Cache-Control' => 'no-cache',
|
||||||
]
|
],
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -342,11 +342,11 @@ class ContentProxyTest extends \PHPUnit_Framework_TestCase
|
|||||||
return [
|
return [
|
||||||
'script and comment' => [
|
'script and comment' => [
|
||||||
'<strong>Script inside:</strong> <!--[if gte IE 4]><script>alert(\'lol\');</script><![endif]--><br />',
|
'<strong>Script inside:</strong> <!--[if gte IE 4]><script>alert(\'lol\');</script><![endif]--><br />',
|
||||||
'lol'
|
'lol',
|
||||||
],
|
],
|
||||||
'script' => [
|
'script' => [
|
||||||
'<strong>Script inside:</strong><script>alert(\'lol\');</script>',
|
'<strong>Script inside:</strong><script>alert(\'lol\');</script>',
|
||||||
'script'
|
'script',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user