1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-04 13:18:00 +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

@@ -75,6 +75,10 @@ class HTMLPurifier_URIParserTest extends HTMLPurifier_Harness
'tel:+1 (555) 555-5555',
'tel', null, null, null, '+1 (555) 555-5555', null, null
);
$this->assertParsing(
'tel:+1%20(555)%20555-5555',
'tel', null, null, null, '+1%20(555)%20555-5555', null, null
);
}
public function testIPv4Address()