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

@ -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>', '');
}
}