summaryrefslogtreecommitdiff
path: root/embed.cgi
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2023-10-02 16:19:53 -0500
committercitrons <citrons@mondecitronne.com>2023-10-02 16:20:24 -0500
commit2ef3772cab619da46d4f499f6255afaa25266078 (patch)
tree87ace14c8c67d8209db8037f27dd03a510233af4 /embed.cgi
parentc20bbe2b56f870b980c6e51556204b2b08bba4bd (diff)
accept george.gh0.pw referer
Diffstat (limited to 'embed.cgi')
-rwxr-xr-xembed.cgi2
1 files changed, 1 insertions, 1 deletions
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('<h1 style="color: red">no</h1><p>bad referer hostname</p>')
sys.exit(0)