#28635: Preserved filters with unicode url prefix
-------------------------------------+-------------------------------------
     Reporter:  Wenli Tsai           |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  contrib.admin        |                  Version:  1.11
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
  add_preserved_filters              |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Description changed by Wenli Tsai:

Old description:

> The preserved_filters won't be correctly recovered when url contains non-
> ASCII prefix.
>
> When save the change form and return to the changelist,
> the changelist url should be `/admin/myApp/台灣Model/?cityID=a`.
>
> But we got `/admin/myApp/台灣Model/?_changelist_filters=cityID%3Da`,
> and 302 redirected to `/admin/myApp/台灣Model/?e=1`.

New description:

 The preserved_filters won't be correctly recovered when url contains
 unicode prefix.

 When save the change form and return to the changelist,
 the changelist url should be `/admin/myApp/台灣Model/?cityID=a`.

 But we got `/admin/myApp/台灣Model/?_changelist_filters=cityID%3Da`,
 and 302 redirected to `/admin/myApp/台灣Model/?e=1`.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28635#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.c499bef91f24cf5d10a5f2040ddba263%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to