diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-01-03 05:33:50 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-01-03 05:33:50 +0000 |
commit | e5348d2d70cf7a56f59f019b4adfbd4324212305 (patch) | |
tree | 926ed22aa1a1a90aeb787b65c527036c988bbb7a /IkiWiki/CGI.pm | |
parent | ac4cb215a19c8356ebe063d8b86e072f92ed8597 (diff) | |
download | ikiwiki-e5348d2d70cf7a56f59f019b4adfbd4324212305.tar ikiwiki-e5348d2d70cf7a56f59f019b4adfbd4324212305.tar.gz |
* Corrected a bum regexp in openid munging.
Diffstat (limited to 'IkiWiki/CGI.pm')
-rw-r--r-- | IkiWiki/CGI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index d23cf5d02..5d21d0674 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -668,7 +668,7 @@ sub userlink ($) { #{{{ } # Convert "http://somehost.com/user" to "user [somehost.com]". if ($display !~ /\[/) { - $display=~s/^https?:\/\/(.+)\/[^\/](.+)$/$2 [$1]/; + $display=~s/^https?:\/\/(.+)\/([^\/]+)$/$2 [$1]/; } $display=~s!^https?://!!; # make sure this is removed return "<a href=\"$user\">".escapeHTML($display)."</a>"; |