mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-31 04:34:27 +00:00
Prevent URL fragment destructing
This commit is contained in:
+2
-2
@@ -160,8 +160,8 @@ class Url
|
||||
$unreserved = $alpha . $digit . preg_quote('-._~');
|
||||
|
||||
// sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
|
||||
// / "*" / "+" / "," / ";" / "="
|
||||
$sub_delims = preg_quote('!$&\'()*+,;=');
|
||||
// / "*" / "+" / "," / ";" / "=" / "#"
|
||||
$sub_delims = preg_quote('!$&\'()*+,;=#');
|
||||
|
||||
// HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
|
||||
$hexdig = $digit . 'A-F';
|
||||
|
||||
Reference in New Issue
Block a user