changement de l'affichage des tryouts et des matchs
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ def is_safe_url(url):
|
||||
"""
|
||||
if not url:
|
||||
return False
|
||||
parsed = url_parse(url)
|
||||
parsed = urlparse(url)
|
||||
# Allow relative URLs (no netloc) or same-origin URLs
|
||||
return not parsed.netloc or parsed.netloc == request.host
|
||||
|
||||
|
||||
Reference in New Issue
Block a user