Skip to content

Commit

Permalink
safe_url = parts.path + '?' + parts.query + '#' + parts.fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
lingthio committed Mar 23, 2018
1 parent 8d78f94 commit 1fdc0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_user/user_manager__utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def make_safe_url(self, url):
# Split the URL into scheme, hostname, port, path, query and fragment
parts = urlsplit(url)
# Rebuild a safe URL with only the path, query and fragment parts
safe_url = parts.path + '?' + parts.query + parts.fragment
safe_url = parts.path + '?' + parts.query + '#' + parts.fragment
return safe_url

def prepare_domain_translations(self):
Expand Down

0 comments on commit 1fdc0ee

Please sign in to comment.