Skip to content

Commit

Permalink
webcompat#451 need to return a string URI
Browse files Browse the repository at this point in the history
  • Loading branch information
karlcow committed Feb 4, 2015
1 parent 5c57a6b commit cef428c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webcompat/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit cef428c

Please sign in to comment.