#35169: updated asgi handler for disconnects does not process ROOT_PATH
-------------------------------------+-------------------------------------
Reporter: Michael Smith | Owner: nobody
Type: Bug | Status: closed
Component: Core (Other) | Version: 5.0
Severity: Normal | Resolution: needsinfo
Keywords: asgi, handler, | Triage Stage:
root_path | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Michael Smith):
all i can say is that when we upgraded to django 5 from 4.2.9, all the
template url references outside of static files lost their root_path
prefixes. By making these changes I was able to get the root_path passed
back to the templates. If you have another way to resolve this, please but
I have not been able to get the ROOT_PATH from uvicorn asgi server passed
back to our application without this. I used git bisect to identify the
specific commit that caused this. And by adding the scope, it restored the
django 4 behavior.
--
Ticket URL: <https://code.djangoproject.com/ticket/35169#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018d7e67e149-2d26ea9a-a05f-47f8-9323-9398a4c0d8c5-000000%40eu-central-1.amazonses.com.