fix: Pass in a referrer when logging.

This commit is contained in:
Feanil Patel
2026-01-14 10:23:12 -05:00
parent 99684cb7f1
commit a5f022a1cd

View File

@@ -44,7 +44,7 @@ def is_cross_domain_request_allowed(request):
return False
if not referer_parts.scheme == 'https':
log.debug("Referer '%s' must have the scheme 'https'")
log.debug("Referer '%s' must have the scheme 'https'", str(referer))
return False
# Reduce the referer URL to just the scheme and authority