forked from hummypkg/sweeper
fix directory escape
This commit is contained in:
parent
27fb54e651
commit
815c78cf4d
@ -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)
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user