From 2ef3772cab619da46d4f499f6255afaa25266078 Mon Sep 17 00:00:00 2001 From: citrons Date: Mon, 2 Oct 2023 16:19:53 -0500 Subject: accept george.gh0.pw referer --- embed.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed.cgi') diff --git a/embed.cgi b/embed.cgi index 18db820..38f7577 100755 --- a/embed.cgi +++ b/embed.cgi @@ -37,7 +37,7 @@ if __name__ == "__main__": rf = getenv("HTTP_REFERER",None) if rf is not None: our_hn = urlparse(rf).hostname - if our_hn != correct_hn: + if our_hn != correct_hn and our_hn != "george.gh0.pw": print() print('

no

bad referer hostname

') sys.exit(0) -- cgit v1.2.3