diff options
-rw-r--r-- | IkiWiki/CGI.pm | 2 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | doc/bugs/Convert___34__somehost.com/user__34___OpenID_at_RecentChanges_page.mdwn | 2 |
3 files changed, 9 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>"; diff --git a/debian/changelog b/debian/changelog index 3b62495fd..3e5d7158d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ikiwiki (1.38) UNRELEASED; urgency=low + + * Corrected a bum regexp in openid munging. + + -- Joey Hess <joeyh@debian.org> Tue, 2 Jan 2007 16:30:48 -0500 + ikiwiki (1.37) unstable; urgency=low * Add mirrorlist plugin. diff --git a/doc/bugs/Convert___34__somehost.com/user__34___OpenID_at_RecentChanges_page.mdwn b/doc/bugs/Convert___34__somehost.com/user__34___OpenID_at_RecentChanges_page.mdwn index e3a330bda..b8565f413 100644 --- a/doc/bugs/Convert___34__somehost.com/user__34___OpenID_at_RecentChanges_page.mdwn +++ b/doc/bugs/Convert___34__somehost.com/user__34___OpenID_at_RecentChanges_page.mdwn @@ -18,6 +18,8 @@ for all OpenIDs is a good idea. What's your opinion? >>>> instead of "ptecza [getopenid.com]" (you cut first character of my login). >>>> --Pawel +>>>>> fixed now + BTW, Happy New Year for you and Debian 'etch' and all ikiwiki users! :) --Pawel |