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

This commit is contained in:
aschwarz
2023-04-26 13:57:39 +02:00
parent da1f2a6c82
commit 088389f080
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>'
);
}