summaryrefslogtreecommitdiff
path: root/paste/fixture.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/fixture.py')
-rw-r--r--paste/fixture.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/paste/fixture.py b/paste/fixture.py
index 969863c..4b88718 100644
--- a/paste/fixture.py
+++ b/paste/fixture.py
@@ -235,6 +235,7 @@ class TestApp(object):
environ['CONTENT_TYPE'] = content_type
elif params:
environ.setdefault('CONTENT_TYPE', 'application/x-www-form-urlencoded')
+ url = str(url)
if '?' in url:
url, environ['QUERY_STRING'] = url.split('?', 1)
else: