diff -u b/core/modules/dblog/src/Tests/DbLogTest.php b/core/modules/dblog/src/Tests/DbLogTest.php --- b/core/modules/dblog/src/Tests/DbLogTest.php +++ b/core/modules/dblog/src/Tests/DbLogTest.php @@ -248,7 +248,7 @@ $this->assertText(t('Recent log messages'), 'DBLog report was displayed correctly and sorting went fine.'); } -/** + /** * Test the escaping of links in the operation row of a database log detail * page. */ @@ -265,7 +265,7 @@ // Check if the link exists (unescaped). $this->assertRaw($link); - + // Check for XSS filtering $js_txt = 'This should not pop up!'; $js = ''; @@ -279,7 +279,7 @@ // Check if the link exists (unescaped). $this->assertRaw($link); - + // Check if javascript was escaped $this->assertNoRaw($js, 'Detail view: javascript in link is blocked'); $this->assertRaw($js_txt, 'Detail view: javascript text exists ');