mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
use request encoding when parsing cookies
fixes 14 segfaults in HEAD
This commit is contained in:
parent
77373e8694
commit
248dc58005
1 changed files with 1 additions and 0 deletions
|
@ -563,6 +563,7 @@ SAPI_API SAPI_TREAT_DATA_FUNC(php_default_treat_data)
|
|||
} else {
|
||||
free_buffer = 0;
|
||||
}
|
||||
conv = UG(request_encoding_conv);
|
||||
} else if (arg == PARSE_STRING) { /* String data */
|
||||
res = str;
|
||||
free_buffer = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue