alecpl
2011-01-30 f2e94665f397d7bb1fa767c008de54485df218fe
- Clarify regexp (#1487722)


1 files modified
2 ■■■ changed files
program/steps/addressbook/show.inc 2 ●●● patch | view | raw | blame | history
program/steps/addressbook/show.inc
@@ -147,7 +147,7 @@
function rcmail_render_url_value($url, $col)
{
    $prefix = preg_match('![htfps]+://!', $url) ? '' : 'http://';
    $prefix = preg_match('!^(http|ftp)s?://!', $url) ? '' : 'http://';
    return html::a(array(
        'href' => $prefix . $url,
        'target' => '_blank',