summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
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;