From 4eaee9389d275d9832b2ebe6566f8f13a29d4276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 6 Aug 2017 02:15:31 +0200 Subject: [PATCH] use html and js escapes for tpl strings --- html_orig/pages/cfg_network.php | 14 +++++++------- html_orig/pages/cfg_term.php | 12 ++++++------ html_orig/pages/cfg_wifi.php | 12 ++++++------ html_orig/pages/term.php | 2 +- libesphttpd | 2 +- user/cgi_main.c | 19 ++++++++++--------- user/cgi_network.c | 3 ++- user/cgi_system.c | 3 ++- user/cgi_term_cfg.c | 3 ++- user/cgi_wifi.c | 5 +++-- 10 files changed, 40 insertions(+), 35 deletions(-) diff --git a/html_orig/pages/cfg_network.php b/html_orig/pages/cfg_network.php index e31930a..21fefc1 100644 --- a/html_orig/pages/cfg_network.php +++ b/html_orig/pages/cfg_network.php @@ -17,17 +17,17 @@ $ipmask='pattern="^([0-9]{1,3}\.){3}[0-9]{1,3}$"';
- required> + required>
- required> + required>
- required> + required>
@@ -44,22 +44,22 @@ $ipmask='pattern="^([0-9]{1,3}\.){3}[0-9]{1,3}$"';
- required> + required>
- required> + required>
- required> + required>
- required> + required>
diff --git a/html_orig/pages/cfg_term.php b/html_orig/pages/cfg_term.php index 1086a5d..e40863e 100644 --- a/html_orig/pages/cfg_term.php +++ b/html_orig/pages/cfg_term.php @@ -92,16 +92,16 @@
- +
-   -   -   -   - +   +   +   +   +
diff --git a/html_orig/pages/cfg_wifi.php b/html_orig/pages/cfg_wifi.php index 2df7d0b..f34d6dd 100644 --- a/html_orig/pages/cfg_wifi.php +++ b/html_orig/pages/cfg_wifi.php @@ -9,12 +9,12 @@
- +
- +
@@ -92,10 +92,10 @@