Skip to content

Commit a5f022a

Browse files
committed
fix: Pass in a referrer when logging.
1 parent 99684cb commit a5f022a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openedx/core/djangoapps/cors_csrf/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def is_cross_domain_request_allowed(request):
4444
return False
4545

4646
if not referer_parts.scheme == 'https':
47-
log.debug("Referer '%s' must have the scheme 'https'")
47+
log.debug("Referer '%s' must have the scheme 'https'", str(referer))
4848
return False
4949

5050
# Reduce the referer URL to just the scheme and authority

0 commit comments

Comments
 (0)