formatUrl dont use filter_src

This commit is contained in:
xiaomlove
2025-11-02 19:48:50 +07:00
parent 3924a542fb
commit ea644fa484

View File

@@ -223,10 +223,6 @@ function formatAdUrl($adid, $url, $content, $newWindow=true)
return formatUrl("adredir.php?id=".$adid."&url=".rawurlencode($url), $newWindow, $content);
}
function formatUrl($url, $newWindow = false, $text = '', $linkClass = '') {
$src = filter_src($url);
if (empty($src)) {
return "";
}
if (!$text) {
$text = $url;
}