#15718: Django unquotes urls and not able to distinguish %2F and /
-------------------------------------+-------------------------------------
               Reporter:  fed239     |        Owner:  nobody
                   Type:  Bug        |       Status:  closed
              Milestone:             |    Component:  Core (Other)
                Version:  1.2        |     Severity:  Normal
             Resolution:  wontfix    |     Keywords:  urls, url resolver,
           Triage Stage:             |  unquote, %2F
  Unreviewed                         |    Has patch:  0
    Needs documentation:  0          |  Needs tests:  0
Patch needs improvement:  0          |
-------------------------------------+-------------------------------------
Changes (by jacob):

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


Comment:

 I'm fairly sure that this is present in the dev server specifically
 because it mimics Apache's behavior -- as you've discovered. Changing this
 would mean that the dev server would behave differently than production
 servers.

 In fact, poking further, this is more or less
 [http://www.python.org/dev/peps/pep-0333/#url-reconstruction enshrined by
 the WSGI spec] -- it's expected that you'll need to re-quote the path if
 you need to construct the originally given URL.

 Further, this would be a devestatingly difficult-to-debug backwards-
 incompatible change.

 Given all that, I'm marking this wontfix: there's simply no real upside to
 making this change.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15718#comment:4>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to