--- parser3/src/targets/cgi/parser3.C 2003/02/17 11:42:33 1.216.2.5 +++ parser3/src/targets/cgi/parser3.C 2003/02/17 12:13:45 1.216.2.6 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_PARSER3_C="$Date: 2003/02/17 11:42:33 $"; +static const char* IDENT_PARSER3_C="$Date: 2003/02/17 12:13:45 $"; #include "pa_config_includes.h" @@ -321,9 +321,9 @@ static void real_parser_handler( request_info.uri=env_request_uri; else if(query_string) { - char *reconstructed_uri=(char *)request_pool.malloc( + char *reconstructed_uri=new(request_pool) char[ strlen(path_info)+1/*'?'*/+ - strlen(query_string)+1/*0*/); + strlen(query_string)+1/*0*/]; strcpy(reconstructed_uri, path_info); strcat(reconstructed_uri, "?"); strcat(reconstructed_uri, query_string);