summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index 32f599497b..498d4b173d 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -318,6 +318,9 @@ SAPI_API SAPI_TREAT_DATA_FUNC(php_default_treat_data)
}
efree(val);
} else {
+ int val_len;
+ unsigned int new_val_len;
+
php_url_decode(var, strlen(var));
val_len = 0;
val = estrndup("", val_len);