fix CVE-2024-33663 and bring in updates for social-auth-app-django (#6634)

This commit is contained in:
Jake Jackson
2024-08-15 13:32:09 -04:00
committed by GitHub
parent bdf3f81016
commit 467024bc54
5 changed files with 8 additions and 58 deletions

View File

@@ -17,6 +17,9 @@ from social_django.middleware import SocialAuthExceptionMiddleware
class SocialAuthMiddleware(SocialAuthExceptionMiddleware):
def __call__(self, request):
return self.process_request(request)
def process_request(self, request):
if request.path.startswith('/sso'):
# See upgrade blocker note in requirements/README.md