Merge pull request #146 from ed-/http-pagination

Forcing HTTPS in pagination next links.
This commit is contained in:
Michael Basnight 2012-06-21 12:47:04 -07:00
commit b31caffdce

View File

@ -91,7 +91,8 @@ class AppUrl(object):
# Build a new query based on the updated query dict.
new_query_params = urllib.urlencode(query_params)
return self.__class__(
urlparse.ParseResult(parsed_url.scheme,
# Force HTTPS.
urlparse.ParseResult('https',
parsed_url.netloc, parsed_url.path,
parsed_url.params, new_query_params,
parsed_url.fragment).geturl())