--- parser3/src/main/untaint.C 2002/12/15 15:58:34 1.113 +++ parser3/src/main/untaint.C 2003/01/21 15:51:15 1.115 @@ -1,11 +1,11 @@ /** @file Parser: String class part: untaint mechanizm. - Copyright(c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright(c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_UNTAINT_C="$Date: 2002/12/15 15:58:34 $"; +static const char* IDENT_UNTAINT_C="$Date: 2003/01/21 15:51:15 $"; #include "pa_pool.h" #include "pa_string.h" @@ -418,10 +418,8 @@ char *String::store_to(char *dest, Untai if( *src=='\xF0' && pool().get_source_charset().name()=="windows-1251" ) { // fixing that letter for most common charset to_char('p'); - continue; - } - // fallback to default - encode(need_file_encode, '_'); + } else // fallback to default + encode(need_file_encode, '_'); ); break; case UL_URI: