Help for this page

Select Code to Download


  1. or download this
    sub DISALLOWED_SCHEMES ()  {
      qw( mailto javascript )
    }
    
  2. or download this
    next if grep { $uri->scheme eq $_ } DISALLOWED_SCHEMES;
    
  3. or download this
    my @dissallowed = DISALLOWED_SCHEMES;
    foreach my $scheme (@dissallowed) {
      next MAINLOOP if ($uri->scheme eq $scheme);
    }