--- parser3/src/main/pa_request.C 2001/05/10 13:10:34 1.129 +++ parser3/src/main/pa_request.C 2001/05/21 07:33:53 1.133 @@ -5,13 +5,14 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_request.C,v 1.129 2001/05/10 13:10:34 paf Exp $ + $Id: pa_request.C,v 1.133 2001/05/21 07:33:53 parser Exp $ */ #include "pa_config_includes.h" #include "pcre.h" #include "internal.h" +extern "C" unsigned char pcre_default_tables[]; // pcre/chartables.c #include "pa_sapi.h" #include "pa_common.h" @@ -54,7 +55,8 @@ Request::Request(Pool& apool, main_class(0), connection(0), pcre_tables(0), - classes_conf(apool) + classes_conf(apool), + anti_endless_execute_recoursion(0) { /// directly used // operators @@ -265,7 +267,8 @@ void Request::core(const char *root_auto cstr2ctypes(pcre_tables, (const unsigned char *)"*+?{^.$|()[", ctype_meta); element2case(pcre_tables, *ctype, *ctype_lowercase_name); - } + } else + pcre_tables=pcre_default_tables; // filling form fields form.fill_fields(*this); @@ -289,7 +292,7 @@ void Request::core(const char *root_auto if(const Method *method=junction->method) { // preparing to pass parameters to // @postprocess[data] - VMethodFrame frame(pool(), *junction, false); + VMethodFrame frame(pool(), value->name(), *junction, false); frame.set_self(*main_class); frame.store_param(method->name, @@ -354,7 +357,7 @@ void Request::core(const char *root_auto if(const Method *method=junction->method) { // preparing to pass parameters to // @exception[origin;source;comment;type;code] - VMethodFrame frame(pool(), *junction, false); + VMethodFrame frame(pool(), value->name(), *junction, false); frame.set_self(*main_class); const String *problem_source=e.problem_source(); @@ -597,4 +600,4 @@ const String& Request::mime_type_of(cons "MIME-TYPE table column elements must not be empty"); } return *NEW String(pool(), "application/octet-stream"); -} \ No newline at end of file +}