Wednesday, 31 March 2010

Bug: Set UTF-8 mode for user names in persistent logins

The {\tt cookie::storeCookie} and {\tt cookie:testCookiePresent} methods failed to set UTF-8 mode when reading and writing the cookie token file for persistent logins. This caused warning messages when sorting cookie user names in the administrator Persistent Login Manager page. This change will force all users with non-ASCII login names to log back in, as their cookies will not match those stored with the incorrect file encoding. As it happens, there were only two such and both were inactive accounts, so I just purged the persistent logins for them myself.

1 comment:

Unknown said...

Glad to see you're still working on this! My friends and I have recently started tracking here, and I recently started downloading the code to try and retrofit some features we wanted to see implemented. Thanks for your work!

-Dwayne