Diff for /parser3/src/classes/string.C between versions 1.210 and 1.212

version 1.210, 2013/10/10 22:12:48 version 1.212, 2013/12/29 18:39:50
Line 454  static void _match(Request& r, MethodPar Line 454  static void _match(Request& r, MethodPar
                 };                  };
   
                 if(is_junction){                  if(is_junction){
                         Temp_value_element temp( *replacement_code->get_junction()->method_frame, match_var_name, vtable);                          Temp_value_element temp(r, *replacement_code->get_junction()->method_frame, match_var_name, vtable);
                         src.match(vregex, replace_action, &info, matches_count);                          src.match(vregex, replace_action, &info, matches_count);
                 } else {                  } else {
                         src.match(vregex, replace_action, &info, matches_count);                          src.match(vregex, replace_action, &info, matches_count);
Line 748  static void _escape(Request& r, MethodPa Line 748  static void _escape(Request& r, MethodPa
 static void _unescape(Request& r, MethodParams& params){  static void _unescape(Request& r, MethodParams& params){
         const String& src=params.as_string(0, PARAMETER_MUST_BE_STRING);          const String& src=params.as_string(0, PARAMETER_MUST_BE_STRING);
         if(const char* result=unescape_chars(src.cstr(), src.length(), &r.charsets.source(), true))          if(const char* result=unescape_chars(src.cstr(), src.length(), &r.charsets.source(), true))
                 r.write_assign_lang(*new String(result));                  r.write_assign_lang(*new String(result, String::L_TAINTED));
 }  }
   
 // constructor  // constructor

Removed from v.1.210  
changed lines
  Added in v.1.212


E-mail: