提交的内容

This commit is contained in:
2025-05-12 15:45:02 +08:00
parent 629c4750da
commit b48c692775
3043 changed files with 34732 additions and 60810 deletions

0
vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/data.php vendored Executable file → Normal file
View File

0
vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/file.php vendored Executable file → Normal file
View File

0
vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/ftp.php vendored Executable file → Normal file
View File

0
vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/http.php vendored Executable file → Normal file
View File

0
vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/https.php vendored Executable file → Normal file
View File

View File

0
vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/news.php vendored Executable file → Normal file
View File

0
vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/nntp.php vendored Executable file → Normal file
View File

6
vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/tel.php vendored Executable file → Normal file
View File

@ -33,11 +33,11 @@ class HTMLPurifier_URIScheme_tel extends HTMLPurifier_URIScheme
$uri->host = null;
$uri->port = null;
// Delete all non-numeric characters, non-x characters
// Delete all non-numeric characters, commas, and non-x characters
// from phone number, EXCEPT for a leading plus sign.
$uri->path = preg_replace('/(?!^\+)[^\dx]/', '',
$uri->path = preg_replace('/(?!^\+)[^\dx,]/', '',
// Normalize e(x)tension to lower-case
str_replace('X', 'x', $uri->path));
str_replace('X', 'x', rawurldecode($uri->path)));
return true;
}