--- parser3/src/main/untaint.C 2001/04/10 11:24:00 1.38 +++ parser3/src/main/untaint.C 2001/04/11 08:36:20 1.39 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: untaint.C,v 1.38 2001/04/10 11:24:00 paf Exp $ + $Id: untaint.C,v 1.39 2001/04/11 08:36:20 paf Exp $ */ #include "pa_config_includes.h" @@ -49,7 +49,7 @@ inline bool need_file_encode(unsigned ch #ifdef WIN32 ":\\~" #endif - "./()_", c); + "./()_-", c); } inline bool need_uri_encode(unsigned char c){ if((c>='0') &&(c<='9') ||(c>='A') &&(c<='Z') ||(c>='a') &&(c<='z')) @@ -112,7 +112,7 @@ char *String::store_to(char *dest, Untai // tainted, untaint language: file [name] escape(switch(*src) { case ' ': to_char('_'); break; - encode(need_file_encode, '-'); + encode(need_file_encode, '+'); }); break; case UL_URI: