mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
formatUrl dont use filter_src
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user