Server geändert

This commit is contained in:
aschwarz
2023-04-25 13:13:17 +02:00
parent a68b637415
commit 02c150b5f6
638 changed files with 2989 additions and 2989 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');