Änderungen https Andy Müller rückgängig gemacht

This commit is contained in:
schwaral
2023-04-26 13:53:28 +02:00
parent aa11420ec4
commit e4b5f82858
508 changed files with 2763 additions and 2763 deletions

View File

@ -6,7 +6,7 @@ class HTMLPurifier_HTMLModule_SafeScriptingTest extends HTMLPurifier_HTMLModuleH
public function setUp()
{
parent::setUp();
$this->config->set('HTML.SafeScripting', array('https://localhost/foo.js'));
$this->config->set('HTML.SafeScripting', array('http://localhost/foo.js'));
}
public function testMinimal()
@ -20,14 +20,14 @@ class HTMLPurifier_HTMLModule_SafeScriptingTest extends HTMLPurifier_HTMLModuleH
public function testGood()
{
$this->assertResult(
'<script type="text/javascript" src="https://localhost/foo.js" />'
'<script type="text/javascript" src="http://localhost/foo.js" />'
);
}
public function testBad()
{
$this->assertResult(
'<script type="text/javascript" src="https://localhost/foobar.js" />',
'<script type="text/javascript" src="http://localhost/foobar.js" />',
''
);
}