Server geändert

This commit is contained in:
aschwarz
2023-04-25 13:13:40 +02:00
parent 4236ab626b
commit 3232b9ac9c
609 changed files with 2975 additions and 2975 deletions

View File

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