-- 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:

git.thebackupbox.net

resdb

git://git.thebackupbox.net/resdb

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

index 2e55a32b4a25e71a419565f7a32e6a9a89293510..

index ..7190cca7fd04ac026c52c249ed2dfd3b2221803b 100755

--- 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