diff --git a/main/rfc1867.c b/main/rfc1867.c index 12ed4f2934d..f4337c3f8ba 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -157,7 +157,7 @@ static void php_mime_split(char *buf, int cnt, char *boundary) *(loc - 4) = '\0'; /* Magic function that figures everything out */ - php_parse_gpc_data(ptr,namebuf,http_post_vars ELS_CC PLS_CC); + php_register_variable(ptr,namebuf,http_post_vars ELS_CC PLS_CC); /* And a little kludge to pick out special MAX_FILE_SIZE */ itype = php_check_ident_type(namebuf); diff --git a/php_gpce.c b/php_gpce.c index c2d0d285dac..d481c40858e 100644 --- a/php_gpce.c +++ b/php_gpce.c @@ -28,7 +28,7 @@ #include "zend_globals.h" -void php_parse_gpc_data(char *val, char *var, pval *track_vars_array ELS_DC PLS_DC) +void php_register_variable(char *val, char *var, pval *track_vars_array ELS_DC PLS_DC) { char *p = NULL; char *ip; /* index pointer */ @@ -265,7 +265,7 @@ void php_treat_data(int arg, char *str ELS_DC PLS_DC SLS_DC) /* FIXME: XXX: not binary safe, discards returned length */ php_url_decode(var, strlen(var)); php_url_decode(val, strlen(val)); - php_parse_gpc_data(val,var,array_ptr ELS_CC PLS_CC); + php_register_variable(val,var,array_ptr ELS_CC PLS_CC); } if (arg == PARSE_COOKIE) { var = strtok_r(NULL, ";", &strtok_buf); diff --git a/php_gpce.h b/php_gpce.h index bfbddcb34ed..b8dca449ab2 100644 --- a/php_gpce.h +++ b/php_gpce.h @@ -39,6 +39,6 @@ #define PARSE_STRING 3 void php_treat_data(int arg, char *str ELS_DC PLS_DC SLS_DC); -void php_parse_gpc_data(char *val, char *var, pval *track_vars_array ELS_DC PLS_DC); +void php_register_variable(char *val, char *var, pval *track_vars_array ELS_DC PLS_DC); #endif