--- parser3/src/main/pa_request.C 2001/05/21 07:33:53 1.133 +++ parser3/src/main/pa_request.C 2001/05/24 09:29:52 1.136 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_request.C,v 1.133 2001/05/21 07:33:53 parser Exp $ + $Id: pa_request.C,v 1.136 2001/05/24 09:29:52 parser Exp $ */ #include "pa_config_includes.h" @@ -215,7 +215,7 @@ void Request::core(const char *root_auto // compile requested file String& spath_translated=*NEW String(pool()); - spath_translated.APPEND_CLEAN(info.path_translated, 0, "user-request", 0); + spath_translated.APPEND_TAINTED(info.path_translated, 0, "user-request", 0); main_class=use_file(spath_translated, true/*don't ignore read problem*/, main_class_name, main_class); @@ -342,6 +342,8 @@ void Request::core(const char *root_auto // reset language to default flang=fdefault_lang; + if(flang==String::UL_USER_HTML) + flang=String::UL_HTML; // no _ conversions in @exception[params] // reset response response.fields().clear(); @@ -377,7 +379,7 @@ void Request::core(const char *root_auto } #endif frame.store_param(method->name, - origin_value?origin_value:NEW VUnknown(pool())); + origin_value?origin_value:NEW VNothing(pool())); // source Value *source_value=0; @@ -388,7 +390,7 @@ void Request::core(const char *root_auto source_value=NEW VString(problem_source_copy); } frame.store_param(method->name, - source_value?source_value:NEW VUnknown(pool())); + source_value?source_value:NEW VNothing(pool())); // comment String *comment_value=NEW String(pool(), @@ -403,7 +405,7 @@ void Request::core(const char *root_auto type_value=NEW VString(type_copy.append(*e.type(), flang, true)); } else - type_value=NEW VUnknown(pool()); + type_value=NEW VNothing(pool()); frame.store_param(method->name, type_value); // code @@ -413,7 +415,7 @@ void Request::core(const char *root_auto code_value=NEW VString(code_copy.append(*e.code(), flang, true)); } else - code_value=NEW VUnknown(pool()); + code_value=NEW VNothing(pool()); frame.store_param(method->name, code_value); // future $response:body=