[libgda/LIBGDA_5.2] Corrected HTML output containing <SCRIPT> tag
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_5.2] Corrected HTML output containing <SCRIPT> tag
- Date: Mon, 1 Feb 2016 19:59:29 +0000 (UTC)
commit a6eb5f13f1d25191d57b62813ff09cc59d696b3e
Author: Vivien Malerba <malerba gnome-db org>
Date: Mon Feb 1 20:58:53 2016 +0100
Corrected HTML output containing <SCRIPT> tag
tools/web-server.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/tools/web-server.c b/tools/web-server.c
index 354749d..a1bdbb8 100644
--- a/tools/web-server.c
+++ b/tools/web-server.c
@@ -624,7 +624,7 @@ get_auth (WebServer *server, SoupMessage *msg, GHashTable *query)
/* Add javascript */
xmlNodePtr form, node;
- node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST "");
+ node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST " ");
xmlSetProp (node, BAD_CAST "type", BAD_CAST "text/javascript");
xmlSetProp (node, BAD_CAST "src", BAD_CAST "/md5.js");
@@ -790,27 +790,27 @@ get_for_console (WebServer *server, SoupMessage *msg)
xmlSetProp (div, BAD_CAST "id", BAD_CAST "irb_input");
xmlSetProp (div, BAD_CAST "autocomplete", BAD_CAST "off");
- node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST "");
+ node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST " ");
xmlSetProp (node, BAD_CAST "type", BAD_CAST "text/javascript");
xmlSetProp (node, BAD_CAST "src", BAD_CAST "/jquery.js");
- node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST "");
+ node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST " ");
xmlSetProp (node, BAD_CAST "type", BAD_CAST "text/javascript");
xmlSetProp (node, BAD_CAST "src", BAD_CAST "/jquery-ui.js");
- node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST "");
+ node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST " ");
xmlSetProp (node, BAD_CAST "type", BAD_CAST "text/javascript");
xmlSetProp (node, BAD_CAST "src", BAD_CAST "/mouseapp_2.js");
- node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST "");
+ node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST " ");
xmlSetProp (node, BAD_CAST "type", BAD_CAST "text/javascript");
xmlSetProp (node, BAD_CAST "src", BAD_CAST "/mouseirb_2.js");
- node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST "");
+ node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST " ");
xmlSetProp (node, BAD_CAST "type", BAD_CAST "text/javascript");
xmlSetProp (node, BAD_CAST "src", BAD_CAST "/irb.js");
- node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST "");
+ node = xmlNewChild (hdoc->head, NULL, BAD_CAST "script", BAD_CAST " ");
xmlSetProp (node, BAD_CAST "type", BAD_CAST "text/javascript");
xmlSetProp (node, BAD_CAST "src", BAD_CAST "/cnc.js");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]