diff options
author | Joey Hess <joey@kitenet.net> | 2010-07-04 16:12:50 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-07-04 16:12:50 -0400 |
commit | acde95751260e305da3d8d84b6b09dcd3b2d03b6 (patch) | |
tree | aabf46329deb6093aa497fe04ec3aae4f8d8ab8e /IkiWiki/Plugin | |
parent | 472d3fba7db7184fee3c4122d8f628cd6436c6bc (diff) |
further sanitize nickname characters
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/openid.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/openid.pm b/IkiWiki/Plugin/openid.pm index d393afd23..4727577f3 100644 --- a/IkiWiki/Plugin/openid.pm +++ b/IkiWiki/Plugin/openid.pm @@ -212,6 +212,7 @@ sub auth ($$) { } if (defined $nickname) { $nickname=~s/\s+/_/g; + $nickname=~s/[^-_0-9[:alnum:]]+//g; $session->param(nickname => $nickname); } } |