mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Update NEWS & UPGRADING Do not decode cookie names anymore Fix bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV)
This commit is contained in:
commit
a9e4321846
8 changed files with 95 additions and 28 deletions
|
@ -501,7 +501,9 @@ SAPI_API SAPI_TREAT_DATA_FUNC(php_default_treat_data)
|
|||
size_t new_val_len;
|
||||
|
||||
*val++ = '\0';
|
||||
php_url_decode(var, strlen(var));
|
||||
if (arg != PARSE_COOKIE) {
|
||||
php_url_decode(var, strlen(var));
|
||||
}
|
||||
val_len = php_url_decode(val, strlen(val));
|
||||
val = estrndup(val, val_len);
|
||||
if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
|
||||
|
@ -512,7 +514,9 @@ SAPI_API SAPI_TREAT_DATA_FUNC(php_default_treat_data)
|
|||
size_t val_len;
|
||||
size_t new_val_len;
|
||||
|
||||
php_url_decode(var, strlen(var));
|
||||
if (arg != PARSE_COOKIE) {
|
||||
php_url_decode(var, strlen(var));
|
||||
}
|
||||
val_len = 0;
|
||||
val = estrndup("", val_len);
|
||||
if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue