diff --git a/include/functions.php b/include/functions.php index 776be432e..63b717701 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1927,6 +1927,8 @@ function validate_url($url) { + $url = clean($url); + # fix protocol-relative URLs if (strpos($url, "//") === 0) $url = "https:" . $url;