Diff for /parser3/src/main/pa_http.C between versions 1.17 and 1.18

version 1.17, 2008/07/23 14:08:26 version 1.18, 2008/09/04 09:37:48
Line 364  static void form_value2string( Line 364  static void form_value2string(
                 Form_table_value2string_info info(key, *result);                  Form_table_value2string_info info(key, *result);
                 tvalue->for_each(form_table_value2string, &info);                  tvalue->for_each(form_table_value2string, &info);
         } else          } else
                 throw Exception(0,                  throw Exception(PARSER_RUNTIME,
                         new String(key, String::L_TAINTED),                          new String(key, String::L_TAINTED),
                         "is %s, "HTTP_FORM_NAME" option value must either string or table", value->type());                          "is %s, "HTTP_FORM_NAME" option value must either string or table", value->type());
 }  }
Line 495  File_read_http_result pa_internal_file_r Line 495  File_read_http_result pa_internal_file_r
   
                 const char* current=connect_string_cstr;                  const char* current=connect_string_cstr;
                 if(strncmp(current, "http://", 7)!=0)                  if(strncmp(current, "http://", 7)!=0)
                         throw Exception(0,                           throw Exception(PARSER_RUNTIME, 
                                 &connect_string,                                   &connect_string, 
                                 "does not start with http://"); //never                                  "does not start with http://"); //never
                 current+=7;                  current+=7;

Removed from v.1.17  
changed lines
  Added in v.1.18


E-mail: