summaryrefslogtreecommitdiffstats
path: root/logfiles-tail-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'logfiles-tail-html.lsp')
-rw-r--r--logfiles-tail-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logfiles-tail-html.lsp b/logfiles-tail-html.lsp
index 72725ad..94bc4a8 100644
--- a/logfiles-tail-html.lsp
+++ b/logfiles-tail-html.lsp
@@ -8,8 +8,8 @@
function Update(){
$.ajaxSetup({cache:false});
$.getJSON(
- '<%= page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %>',
- {name:'<% io.write(form.value.filename.value) if form.value.grep.value ~= "" then io.write("',grep:'"..form.value.grep.value) end %>', offset:currentoffset},
+ '<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action) %>',
+ {name:'<% io.write(html.html_escape(form.value.filename.value)) if form.value.grep.value ~= "" then io.write("',grep:'"..html.html_escape(form.value.grep.value)) end %>', offset:currentoffset},
function(data) {
data.value.filecontent.value = data.value.filecontent.value.split("\n").join("<br>\n");