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

This commit is contained in:
aschwarz
2023-04-26 13:56:54 +02:00
parent 50ee1824fe
commit df90cea8d1
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" />',
''
);
}