diff options
author | Stanislav Malyshev <stas@php.net> | 2020-09-28 22:55:37 -0700 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2020-09-28 22:55:37 -0700 |
commit | e14f835d8c4d8f595cc085f7ffae7ea07ae4e745 (patch) | |
tree | a68f8ef533ccb73b5e4551ff3c10a9eb3e92aaa0 /main | |
parent | ea03cbebbcebf3988a2274cf916e3f12a1dbea73 (diff) | |
parent | c4dc080245006e011a484ca609b9d4eaa6cc4963 (diff) | |
download | php-git-e14f835d8c4d8f595cc085f7ffae7ea07ae4e745.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Update UPGRADING
Update UPGRADING
Update NEWS & UPGRADING
Do not decode cookie names anymore
Fix bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV)
Diffstat (limited to 'main')
-rw-r--r-- | main/php_variables.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c index 7b753f0cdf..312c22ef07 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -509,7 +509,9 @@ SAPI_API SAPI_TREAT_DATA_FUNC(php_default_treat_data) } val = estrndup(val, val_len); - php_url_decode(var, strlen(var)); + if (arg != PARSE_COOKIE) { + php_url_decode(var, strlen(var)); + } if (sapi_module.input_filter(arg, var, &val, val_len, &new_val_len)) { php_register_variable_safe(var, val, new_val_len, &array); } |