This is not a browser

This commit is contained in:
Juerd Waalboer 2021-07-28 01:21:48 +02:00
parent cbaf86a23e
commit 83caf2c183

10
plugins/url Normal file
View 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;
}