Merge pull request #530 from pi-hole/fix/query-log-xss

Prevent Query Log XSS via a specially crafted DNS query
This commit is contained in:
WaLLy3K
2017-06-25 14:30:01 +10:00
committed by GitHub
+2 -2
View File
@@ -175,8 +175,8 @@ $(document).ready(function() {
"columns": [
{ "width" : "20%", "render": function (data, type, full, meta) { if(type === "display"){return moment.unix(data).format("Y-MM-DD HH:mm:ss z");}else{return data;} }},
{ "width" : "10%" },
{ "width" : "40%" },
{ "width" : "10%" },
{ "width" : "40%", "render": $.fn.dataTable.render.text() },
{ "width" : "10%", "render": $.fn.dataTable.render.text() },
{ "width" : "10%" },
{ "width" : "10%" },
],