fix directory escape

This commit is contained in:
hummypkg 2016-11-20 11:48:49 +00:00
parent 27fb54e651
commit 815c78cf4d
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Package: sweeper
Priority: optional
Section: misc
Version: 2.1.3
Version: 2.1.3-1
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends: webif(>=1.3.0-1)

View File

@ -730,7 +730,7 @@ function loadrules(dir)
{
$('#ruleset')
.html('<img src=/img/loading.gif> Loading rules...');
$.getJSON('rules_json.jim', 'dir=' + dir, function(data) {
$.getJSON('rules_json.jim', {'dir': dir}, function(data) {
$('#ruleset').empty();
if (!data.length)
{