diff options
author | citrons <citrons@mondecitronne.com> | 2023-10-02 16:19:53 -0500 |
---|---|---|
committer | citrons <citrons@mondecitronne.com> | 2023-10-02 16:20:24 -0500 |
commit | 2ef3772cab619da46d4f499f6255afaa25266078 (patch) | |
tree | 87ace14c8c67d8209db8037f27dd03a510233af4 /embed.cgi | |
parent | c20bbe2b56f870b980c6e51556204b2b08bba4bd (diff) |
accept george.gh0.pw referer
Diffstat (limited to 'embed.cgi')
-rwxr-xr-x | embed.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |