Fixed : fix php version compatible with php version 8.2 to 8.5

This commit is contained in:
amit sharma
2026-09-01 19:51:37 +05:30
parent 761fc63c67
commit 74143c6dad
54 changed files with 200 additions and 152 deletions

View File

@@ -108,7 +108,7 @@ class HTMLPurifier_URI
public function validate($config, $context)
{
// ABNF definitions from RFC 3986
$chars_sub_delims = '!$&\'()*+,;=';
$chars_sub_delims = $config->get('URI.AllowedSymbols');
$chars_gen_delims = ':/?#[]@';
$chars_pchar = $chars_sub_delims . ':@';