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

@ -105,14 +105,14 @@ class HTMLPurifier_Injector_RemoveEmptyTest extends HTMLPurifier_InjectorHarness
public function testNoRemoveIframe()
{
$this->config->set('HTML.SafeIframe', true);
$this->assertResult('<iframe src="http://google.com"></iframe>', '');
$this->assertResult('<iframe src="https://google.com"></iframe>', '');
}
public function testRemoveDisallowedIframe()
{
$this->config->set('HTML.SafeIframe', true);
$this->config->set('URI.SafeIframeRegexp', '%^http://www.youtube.com/embed/%');
$this->assertResult('<iframe src="http://google.com"></iframe>', '');
$this->config->set('URI.SafeIframeRegexp', '%^https://www.youtube.com/embed/%');
$this->assertResult('<iframe src="https://google.com"></iframe>', '');
}
}