框架升级及修复升级后的bug

This commit is contained in:
Dev
2026-10-16 18:13:09 +08:00
parent dafb0c96c0
commit 2d342bcbd7
537 changed files with 49836 additions and 40933 deletions
+4 -4
View File
@@ -60,9 +60,9 @@ class HeaderUtils
# token
[^"\s'.$quotedSeparators.']++
|
# whitespace, only when more of the value follows it, so that a value
# never ends on whitespace and none of it ever has to be given back
\s++(?!['.$quotedSeparators.']|$)
# whitespace that is not a separator, only when more of the value follows it,
# so that a value never ends on whitespace and none of it ever has to be given back
[^\S'.$quotedSeparators.']++(?!['.$quotedSeparators.']|$)
)++
|
# separator
@@ -241,7 +241,7 @@ class HeaderUtils
return $q;
}
parse_str(implode('&', $q), $q);
@parse_str(implode('&', $q), $q);
$query = [];