Ä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

@ -10,18 +10,18 @@ class HTMLPurifier_AttrDef_CSS_URITest extends HTMLPurifier_AttrDefHarness
$this->assertDef('', false);
// we could be nice but we won't be
$this->assertDef('https://www.example.com/', false);
$this->assertDef('http://www.example.com/', false);
$this->assertDef('url(', false);
$this->assertDef('url("")', true);
$result = 'url("https://www.example.com/")';
$this->assertDef('url(https://www.example.com/)', $result);
$this->assertDef('url("https://www.example.com/")', $result);
$this->assertDef("url('https://www.example.com/')", $result);
$result = 'url("http://www.example.com/")';
$this->assertDef('url(http://www.example.com/)', $result);
$this->assertDef('url("http://www.example.com/")', $result);
$this->assertDef("url('http://www.example.com/')", $result);
$this->assertDef(
' url( "https://www.example.com/" ) ', $result);
$this->assertDef("url(https://www.example.com/foo,bar\)\'\()",
'url("https://www.example.com/foo,bar%29%27%28")');
' url( "http://www.example.com/" ) ', $result);
$this->assertDef("url(http://www.example.com/foo,bar\)\'\()",
'url("http://www.example.com/foo,bar%29%27%28")');
}
}