diff options
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class index 3b8f5b0..5ed6294 100644 --- a/it_url.class +++ b/it_url.class @@ -747,7 +747,7 @@ static function absolute($url=null) if (!isset($url)) $url = $_SERVER['PHP_SELF']; - if (!preg_match('/^http/', $url)) + if (!preg_match('/^\w+:/', $url)) { if (!preg_match('#^//#', $url)) { |