Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

magic-removal: Fixed #1641 -- Changed WSGIRequest.get_full_path() to …

…permit absent QUERY_STRING. Thanks, Kieran Holland

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 0eb9819fa5013eb260aa316a5485d5c3f27fcb1f 1 parent 5f7e314
Adrian Holovaty authored April 20, 2006

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/handlers/wsgi.py
2  django/core/handlers/wsgi.py
@@ -63,7 +63,7 @@ def __repr__(self):
63 63
             pformat(self.META))
64 64
 
65 65
     def get_full_path(self):
66  
-        return '%s%s' % (self.path, self.environ['QUERY_STRING'] and ('?' + self.environ['QUERY_STRING']) or '')
  66
+        return '%s%s' % (self.path, self.environ.get('QUERY_STRING', '') and ('?' + self.environ.get('QUERY_STRING', '')) or '')
67 67
 
68 68
     def _load_post_and_files(self):
69 69
         # Populates self._post and self._files

0 notes on commit 0eb9819

Please sign in to comment.
Something went wrong with that request. Please try again.