#19075: Query parameters are not decoded properly
---------------------------------+-------------------------------------
     Reporter:  ivan_virabyan    |                    Owner:  aaugustin
         Type:  Bug              |                   Status:  reopened
    Component:  HTTP handling    |                  Version:  master
     Severity:  Release blocker  |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+-------------------------------------
Changes (by kmtracey):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The fix here has re-introduced #2494. Trying to use the dev server on a
 private network (in my particular case, host machine to client VM) is
 unbearably slow. Every GET (which includes all static files) is incurring
 a multi-second delay as the dev server tries a gethostbyaddr() on addrs
 like 192.168.1.105. A workaround is to put the 192.168.1.105 address in
 /etc/hosts. Possibly documenting that workaround is all that needs to be
 done to "fix" this? But I think that would only be OK if this code path is
 dev-server-only, and that's not something I'm sure about. If we've
 introduced a reverse DNS lookup on the client IP address into a production
 code path of every request, that's probably not OK.

 (I know this is a fundamentally different problem than the subject of this
 ticket, but opted to re-open this one since it is the fix for this that
 has caused the problem, and we need to resolve this new problem without
 re-introducing the original problem of this ticket, and that seems easiest
 if it is this ticket that is open rather than an entirely new one.)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19075#comment:12>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to