Änderungen https Andy Müller rückgängig gemacht
This commit is contained in:
@ -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>'
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user