#34394: django.core.handlers.asgi.ASGIRequest.script_name not work with
settings.FORCE_SCRIPT_NAME
---------------------------------------+----------------------------------
               Reporter:  julyzergcn   |          Owner:  nobody
                   Type:  Bug          |         Status:  new
              Component:  Core (URLs)  |        Version:  4.1
               Severity:  Normal       |       Keywords:  asgi SCRIPT_NAME
           Triage Stage:  Unreviewed   |      Has patch:  0
    Needs documentation:  0            |    Needs tests:  0
Patch needs improvement:  0            |  Easy pickings:  0
                  UI/UX:  0            |
---------------------------------------+----------------------------------
 For example, I have settings.FORCE_SCRIPT_NAME = '/some-prefix'
 I start a django server with command: daphne
 django_project.asgi:application
 And I navigate to the http://localhost:8000/admin/login, and see the login
 form action url is "/admin/login" which is wrong, which should be "/some-
 prefix/admin/login"

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34394>
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/01070186c46c51df-ca7b1e66-ef1d-45a2-8363-7c388e66efad-000000%40eu-central-1.amazonses.com.

Reply via email to