1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-05 13:47:24 +02:00

Add support for encoded tel URI schemes. (#354)

This commit is contained in:
Michael S
2022-11-24 21:31:20 +00:00
committed by GitHub
parent becc9d40cf
commit 1424f17cf3
5 changed files with 16 additions and 1 deletions

View File

@@ -179,6 +179,13 @@ class HTMLPurifier_URISchemeTest extends HTMLPurifier_URIHarness
);
}
public function test_tel_with_url_encoding()
{
$this->assertValidation(
'tel:+1%20(555)%20555-5555', 'tel:+15555555555'
);
}
public function test_tel_regular()
{
$this->assertValidation(