Änderungen https Andy Müller rückgängig gemacht
This commit is contained in:
@ -32,37 +32,37 @@ class HTMLPurifier_URISchemeTest extends HTMLPurifier_URIHarness
|
||||
public function test_http_regular()
|
||||
{
|
||||
$this->assertValidation(
|
||||
'https://example.com/?s=q#fragment'
|
||||
'http://example.com/?s=q#fragment'
|
||||
);
|
||||
}
|
||||
|
||||
public function test_http_uppercase()
|
||||
{
|
||||
$this->assertValidation(
|
||||
'https://example.com/FOO'
|
||||
'http://example.com/FOO'
|
||||
);
|
||||
}
|
||||
|
||||
public function test_http_removeDefaultPort()
|
||||
{
|
||||
$this->assertValidation(
|
||||
'https://example.com:80',
|
||||
'https://example.com'
|
||||
'http://example.com:80',
|
||||
'http://example.com'
|
||||
);
|
||||
}
|
||||
|
||||
public function test_http_removeUserInfo()
|
||||
{
|
||||
$this->assertValidation(
|
||||
'https://bob@example.com',
|
||||
'https://example.com'
|
||||
'http://bob@example.com',
|
||||
'http://example.com'
|
||||
);
|
||||
}
|
||||
|
||||
public function test_http_preserveNonDefaultPort()
|
||||
{
|
||||
$this->assertValidation(
|
||||
'https://example.com:8080'
|
||||
'http://example.com:8080'
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user