diff contrib/whoisd/whoisd.pl @ 1244:f1d3deaa98d2 draft

forgot to add an i to the second place I have the AS query regex. -_-"
author epoch <epoch@hack.thebackupbox.net>
date Sat, 21 Mar 2020 08:58:32 +0000
parents b8624e57fd96
children
line wrap: on
line diff
--- a/contrib/whoisd/whoisd.pl	Sat Mar 21 08:56:18 2020 +0000
+++ b/contrib/whoisd/whoisd.pl	Sat Mar 21 08:58:32 2020 +0000
@@ -257,7 +257,7 @@
  #printf "%-20s %s\n", "notice:","$QUERY did not claim any domains yet";
 }
 
-if($QUERY =~ m/^AS(.+?)$/) {
+if($QUERY =~ m/^AS(.+?)$/i) {
  $user=get_user_from_ASN($1);
 }
 elsif($QUERY =~ m/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/) {