框架升级及修复升级后的bug
This commit is contained in:
+4
-4
@@ -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 = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user