diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-04-30 14:53:17 -0400 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-05-04 13:58:50 -0400 |
| commit | 0147222691db284f87c8c2a64ac6b1eded034c49 (patch) | |
| tree | 6a124a9b4ff7b8142a6d95914d9a933dc994dcff /scripts/prepare_commit_msg.py | |
| parent | f8c0a9321f07c4bbb338da59d57c38878c85d1f0 (diff) | |
Fixed #37079 -- Fixed specialization of header lookups in RemoteUserMiddleware.
We need to switch on whether the request is a WSGI or ASGI request to
know whether to prepend `HTTP_`: we cannot assume sync exceution means
we are running under WSGI, as there could be other sync middleware
forcing sync execution under ASGI.
Thanks Mykhailo Havelia for the report.
Diffstat (limited to 'scripts/prepare_commit_msg.py')
0 files changed, 0 insertions, 0 deletions
