HtmlTextStream has now pt::Stream as a based class and uses pt::WTextStream as a buffer
This commit is contained in:
@@ -526,7 +526,7 @@ void Rm::CreateJSON(bool status)
|
||||
using TemplatesFunctions::R;
|
||||
pt::WTextStream buf;
|
||||
|
||||
JSONescape(buf, cur->request->item.url);
|
||||
JSONescape(cur->request->item.url, buf);
|
||||
|
||||
auto & out = cur->request->out_main_stream;
|
||||
out << R("{\"files\": [{\"") << R(buf) << R("\": ");
|
||||
|
Reference in New Issue
Block a user