--- parser3/src/classes/file.C 2009/07/07 05:47:43 1.197 +++ parser3/src/classes/file.C 2009/07/07 07:26:59 1.198 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_FILE_C="$Date: 2009/07/07 05:47:43 $"; +static const char * const IDENT_FILE_C="$Date: 2009/07/07 07:26:59 $"; #include "pa_config_includes.h" @@ -276,7 +276,7 @@ static void _create(Request& r, MethodPa params.as_no_junction(1, FILE_NAME_MUST_NOT_BE_CODE).as_string()).taint_cstr(String::L_FILE_SPEC); const String& content=params.as_string(2, "content must be string"); - const String::Body content_body=content.cstr_to_string_body_untaint(String::L_AS_IS); // explode content, honor tainting changes + const String::Body content_body=content.cstr_to_string_body_untaint(String::L_AS_IS); // explode content, honor tainting changes VString* vcontent_type=new VString(r.mime_type_of(user_file_name_cstr));