Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 8200:f5d6dc28d571
chore(ruff): remove unreachable line
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 11 Dec 2024 14:17:01 -0500 |
| parents | b4d7f9358ba6 |
| children | 276164647db5 |
line wrap: on
line diff
--- a/roundup/cgi/client.py Wed Dec 11 13:58:27 2024 -0500 +++ b/roundup/cgi/client.py Wed Dec 11 14:17:01 2024 -0500 @@ -1399,8 +1399,6 @@ return (allowed_origins and allowed_origins[0] == '*' and not credentials) - return False - def is_referer_header_ok(self, api=False): referer = self.env['HTTP_REFERER'] # parse referer and create an origin
