diff --git a/website/data/query-blacklist.txt b/website/data/query-blacklist.txt index 6fe9a810..5383d817 100644 --- a/website/data/query-blacklist.txt +++ b/website/data/query-blacklist.txt @@ -62,6 +62,7 @@ ^Tracker ^Trailer ^transfer$ +^TV$ ^user$ ^VCD$ ^VIDEO_TS$ diff --git a/website/scripts/lib/ant.groovy b/website/scripts/lib/ant.groovy index 89f6d577..82c05802 100644 --- a/website/scripts/lib/ant.groovy +++ b/website/scripts/lib/ant.groovy @@ -7,7 +7,10 @@ */ def sshexec(param) { param << [trust: true] // auto-trust remote hosts - ant().sshexec(param) + + _guarded { + ant().sshexec(param) + } } @@ -21,9 +24,11 @@ def sendmail(param) { def sender = param.remove('from') def recipient = param.remove('to') - ant().mail(param) { - from(address:sender) - to(address:recipient) + _guarded { + ant().mail(param) { + from(address:sender) + to(address:recipient) + } } }