|
|
| version 1.70, 2026/04/25 13:38:46 | version 1.71, 2026/10/13 20:02:00 |
|---|---|
| Line 258 static const char* json_error_message(in | Line 258 static const char* json_error_message(in |
| return error_messages[error_code]; | return error_messages[error_code]; |
| } | } |
| extern String::Language get_untaint_lang(const String& lang_name); | |
| #define SOURCE_MAX_LEN 60 | #define SOURCE_MAX_LEN 60 |
| void json_exception_with_source(Request& r, const char* msg, const char* json, int offset){ | void json_exception_with_source(Request& r, const char* msg, const char* json, int offset){ |
| Line 359 static void _parse(Request& r, MethodPar | Line 357 static void _parse(Request& r, MethodPar |
| valid_options++; | valid_options++; |
| } | } |
| if(Value* value=options->get("taint")) { | if(Value* value=options->get("taint")) { |
| json.taint=get_untaint_lang(value->as_string()); | json.taint=String::name2lang(value->as_string()); |
| valid_options++; | valid_options++; |
| } | } |
| if(Value* value=options->get("object")) { | if(Value* value=options->get("object")) { |