* fix bug #973.
This commit is contained in:
@@ -1148,6 +1148,7 @@ class hyperdown
|
||||
*/
|
||||
public function cleanUrl($url)
|
||||
{
|
||||
return $url;
|
||||
if (preg_match("/^\s*((http|https|ftp|mailto):[x80-xff_a-z0-9-\.\/%#@\?\+=~\|\,&\(\)]+)/i", $url, $matches)) {
|
||||
return $matches[1];
|
||||
} else if (preg_match("/^\s*([x80-xff_a-z0-9-\.\/%#@\?\+=~\|\,&]+)/i", $url, $matches)) {
|
||||
|
||||
Reference in New Issue
Block a user