Server geändert

This commit is contained in:
aschwarz
2023-04-25 13:12:50 +02:00
parent 5e9c9cf19d
commit 57b74ca3a5
647 changed files with 3051 additions and 3051 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 = 'http://sub.example.com/foo/bar.html');
$this->config->set('URI.Base', $base = 'https://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', 'http://sub.example.com/foo/bar.html');
$this->config->set('URI.Base', 'https://sub.example.com/foo/bar.html');
$def = new HTMLPurifier_URIDefinition();
$def->setup($this->config);
$this->assertIdentical($def->host, 'sub.example.com');