mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-12 10:55:49 +00:00
Created poststr_escaped
This commit is contained in:
@ -260,9 +260,9 @@ static int http_rest_app(http_request_t* request) {
|
||||
if (webhost && ourip) {
|
||||
poststr(request, htmlDoctype);
|
||||
|
||||
char escapedDeviceName[256];
|
||||
html_escape(CFG_GetDeviceName(), escapedDeviceName, sizeof(escapedDeviceName));
|
||||
hprintf255(request, "<head><title>%s</title>", escapedDeviceName);
|
||||
poststr(request, "<head><title>");
|
||||
poststr_escaped(request, CFG_GetDeviceName());
|
||||
poststr(request, "</title>");
|
||||
|
||||
poststr(request, htmlShortcutIcon);
|
||||
poststr(request, htmlHeadMeta);
|
||||
|
||||
Reference in New Issue
Block a user