#18456: HttpRequest.get_full_path does not escape # sign in the url
-------------------------------------+-------------------------------------
     Reporter:  vlad.shcherbina@…    |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  HTTP handling        |                  Version:  master
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:                       |             Triage Stage:  Design
    Has patch:  0                    |  decision needed
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 In fact, the webserver urldecodes the requested path before putting it in
 the WSGI environ, and urldecoding isn't reversible.

 Therefore, it's  impossible to retrieve the URL that was actually sent by
 the browser, short of parsing it and reconstructing it with `reverse` --
 which, as of a few days ago, urlencodes properly.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18456#comment:3>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to