diff --git a/allauth/account/adapter.py b/allauth/account/adapter.py
index <HASH>..<HASH> 100644
--- a/allauth/account/adapter.py
+++ b/allauth/account/adapter.py
@@ -407,7 +407,7 @@ class DefaultAccountAdapter(object):
 
     def is_safe_url(self, url):
         from django.utils.http import is_safe_url
-        return is_safe_url(url)
+        return is_safe_url(url, allowed_hosts=None)
 
     def get_email_confirmation_url(self, request, emailconfirmation):
         """Constructs the email confirmation (activation) url.
fix(django): allowed_hosts is now a required argument of is_safe_url