-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: resdb action: commit revision: path_from: revision_from: 440a9f472ba19e7781894413d2a47782ceac6aff: path_to: revision_to:
commit 440a9f472ba19e7781894413d2a47782ceac6aff Author: epoch <epoch@hack.thebackupbox.net> Date: Sat Mar 21 08:58:32 2020 +0000 forgot to add an i to the second place I have the AS query regex. -_-" diff --git a/contrib/whoisd/whoisd.pl b/contrib/whoisd/whoisd.pl
--- a/contrib/whoisd/whoisd.pl +++ b/contrib/whoisd/whoisd.pl @@ -257,7 +257,7 @@ sub user_based_lookups { #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]?)$/) {
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 10:16:55 2024