From cef428cc086888a9ba19c042b16029e5f45e71bf Mon Sep 17 00:00:00 2001 From: Karl Dubost Date: Wed, 4 Feb 2015 16:53:18 +0900 Subject: [PATCH] #451 need to return a string URI --- webcompat/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcompat/helpers.py b/webcompat/helpers.py index 35d4c4ac2..824826971 100644 --- a/webcompat/helpers.py +++ b/webcompat/helpers.py @@ -233,7 +233,7 @@ def remove_oauth(uri): if not parameter.startswith('access_token=')] clean_parameters = '&'.join(clean_parameters_list) clean_uri = uri_group._replace(query=clean_parameters) - return clean_uri + return urlparse.urlunparse(clean_uri) def rewrite_and_sanitize_link(link_header):