diff options
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class index c75f05e..35a5b11 100644 --- a/it_html.class +++ b/it_html.class @@ -569,7 +569,7 @@ static function U(/* ... */) $u[$key] ); - if (!$u['path'] && $hostpart) + if (!$u['path'] && $hostpart && preg_match('/^(https?)?$/', $u['scheme'])) $u['path'] = '/'; $queryparams = it_url::params($u['params'] + $params); |