Ä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

@ -31,11 +31,11 @@ class HTMLPurifierTest extends HTMLPurifier_Harness
public function testMakeAbsolute()
{
$this->config->set('URI.Base', 'https://example.com/bar/baz.php');
$this->config->set('URI.Base', 'http://example.com/bar/baz.php');
$this->config->set('URI.MakeAbsolute', true);
$this->assertPurification(
'<a href="foo.txt">Foobar</a>',
'<a href="https://example.com/bar/foo.txt">Foobar</a>'
'<a href="http://example.com/bar/foo.txt">Foobar</a>'
);
}