We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f42641c commit f3f2b02Copy full SHA for f3f2b02
app/code/Magento/Cms/Test/Unit/Controller/Adminhtml/Block/SaveTest.php
@@ -376,11 +376,11 @@ public function testSaveAndClose()
376
public function testSaveActionWithMarginalSpace()
377
{
378
$postData = [
379
- 'title' => '"><img src=y onerror=prompt(document.domain)>;',
+ 'title' => 'unique_title_123',
380
'identifier' => ' unique_title_123',
381
'stores' => ['0'],
382
'is_active' => true,
383
- 'content' => '"><script>alert("cookie: "+document.cookie)</script>',
+ 'content' => '',
384
'back' => 'continue'
385
];
386
0 commit comments