|
|
| version 1.97, 2021/01/13 21:28:15 | version 1.98, 2021/10/19 16:16:35 |
|---|---|
| Line 343 String::C getData(Value& vdata, Request& | Line 343 String::C getData(Value& vdata, Request& |
| String::Body body=sdata->cstr_to_string_body_untaint(String::L_AS_IS, r.connection(false), &r.charsets); // explode content, honor tainting changes | String::Body body=sdata->cstr_to_string_body_untaint(String::L_AS_IS, r.connection(false), &r.charsets); // explode content, honor tainting changes |
| return String::C(body.cstr(), body.length()); | return String::C(body.cstr(), body.length()); |
| } else { | } else { |
| VFile *file=vdata.as_vfile(String::L_AS_IS); | VFile *file=vdata.as_vfile(); |
| return String::C(file->value_ptr(),file->value_size()); | return String::C(file->value_ptr(),file->value_size()); |
| } | } |
| } | } |