fix directory escape
This commit is contained in:
parent
27fb54e651
commit
815c78cf4d
|
@ -1,7 +1,7 @@
|
||||||
Package: sweeper
|
Package: sweeper
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: misc
|
Section: misc
|
||||||
Version: 2.1.3
|
Version: 2.1.3-1
|
||||||
Architecture: mipsel
|
Architecture: mipsel
|
||||||
Maintainer: af123@hummypkg.org.uk
|
Maintainer: af123@hummypkg.org.uk
|
||||||
Depends: webif(>=1.3.0-1)
|
Depends: webif(>=1.3.0-1)
|
||||||
|
|
|
@ -730,7 +730,7 @@ function loadrules(dir)
|
||||||
{
|
{
|
||||||
$('#ruleset')
|
$('#ruleset')
|
||||||
.html('<img src=/img/loading.gif> Loading rules...');
|
.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();
|
$('#ruleset').empty();
|
||||||
if (!data.length)
|
if (!data.length)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue