Ä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

@ -38,7 +38,7 @@ class HTMLPurifier_URIDefinitionTest extends HTMLPurifier_URIHarness
public function test_setupMemberVariables_collisionPrecedenceIsHostBaseScheme()
{
$this->config->set('URI.Host', $host = 'example.com');
$this->config->set('URI.Base', $base = 'https://sub.example.com/foo/bar.html');
$this->config->set('URI.Base', $base = 'http://sub.example.com/foo/bar.html');
$this->config->set('URI.DefaultScheme', 'ftp');
$def = new HTMLPurifier_URIDefinition();
$def->setup($this->config);
@ -57,7 +57,7 @@ class HTMLPurifier_URIDefinitionTest extends HTMLPurifier_URIHarness
public function test_setupMemberVariables_onlyBase()
{
$this->config->set('URI.Base', 'https://sub.example.com/foo/bar.html');
$this->config->set('URI.Base', 'http://sub.example.com/foo/bar.html');
$def = new HTMLPurifier_URIDefinition();
$def->setup($this->config);
$this->assertIdentical($def->host, 'sub.example.com');