Skip to content

Commit 7e3bb20

Browse files
committed
cleanup: remove dump of all request headers to media-auth when not using nginx
1 parent 12f5187 commit 7e3bb20

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/core/api/viewsets.py

-1
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,6 @@ def _auth_get_original_url(self, request):
11901190
# Extract the original URL from the request header
11911191
original_url = request.META.get("HTTP_X_ORIGINAL_URL")
11921192
if not original_url:
1193-
logger.debug( request.META )
11941193
if not request.META.get("HTTP_X_FORWARDED_URI"):
11951194
logger.debug("Missing HTTP_X_ORIGINAL_URL header and HTTP_X_FORWARDED_URI http header.")
11961195
raise drf.exceptions.PermissionDenied()

0 commit comments

Comments
 (0)