This is not a browser
This commit is contained in:
parent
cbaf86a23e
commit
83caf2c183
1 changed files with 10 additions and 0 deletions
10
plugins/url
Normal file
10
plugins/url
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#!perl
|
||||||
|
|
||||||
|
sub command {
|
||||||
|
my ($self, $cart, $command) = @_;
|
||||||
|
if ($command =~ m[^https?://]) {
|
||||||
|
print "This is not a browser...";
|
||||||
|
return ACCEPT;
|
||||||
|
}
|
||||||
|
return NEXT;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue