--- parser3/src/main/pa_request.C 2002/10/31 12:22:13 1.236.4.1 +++ parser3/src/main/pa_request.C 2002/11/25 14:10:53 1.239 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_REQUEST_C="$Date: 2002/10/31 12:22:13 $"; +static const char* IDENT_REQUEST_C="$Date: 2002/11/25 14:10:53 $"; #include "pa_sapi.h" #include "pa_common.h" @@ -68,7 +68,8 @@ Request::Request(Pool& apool, #ifdef RESOURCES_DEBUG , sql_connect_time(0),sql_request_time(0) #endif - , method_frame(0), rcontext(0), wcontext(0) + , method_frame(0), rcontext(0), wcontext(0), + finterrupted(false) { // default charsets pool().set_source_charset(*utf8_charset); @@ -538,7 +539,8 @@ const String& Request::absolute(const St result << relative_name; return result; } else - return relative(info.path_translated, relative_name); + return relative_name.pos("://")<0? relative(info.path_translated, relative_name) + :relative_name; // something like "http://xxx" } static void add_header_attribute(const Hash::Key& aattribute, Hash::Val *ameaning,