Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1641 closed defect (fixed)

[magic-removal][patch] WSGIRequest.get_full_path should permit absent QUERY_STRING

Reported by: django@… Owned by: adrian
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

As commented in WSGIRequest._get_get the WSGI spec says 'QUERY_STRING' may be absent from the environment. WSGIRequest.get_full_path should allow for this also.

Attachments (1)

wsgi_handler_fix_r2714.diff (678 bytes) - added by django@… 9 years ago.
patch makes WSGI handler cope with absent QUERY_STRING

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by django@…

patch makes WSGI handler cope with absent QUERY_STRING

comment:1 Changed 9 years ago by django@…

  • Summary changed from WSGIRequest.get_full_path should permit absent QUERY_STRING to [magic-removal][patch] WSGIRequest.get_full_path should permit absent QUERY_STRING

Patch attached - I needed this fix to use Titus Brown's wsgi_intercept module to interact with Django without a web server.

comment:2 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [2715]) magic-removal: Fixed #1641 -- Changed WSGIRequest.get_full_path() to permit absent QUERY_STRING. Thanks, Kieran Holland

Note: See TracTickets for help on using tickets.
Back to Top