View Single Post
Posts: 263 | Thanked: 679 times | Joined on Apr 2008 @ Lyon, France
#9
Hi,

Originally Posted by SubCore View Post
i just received an email asking me to vote on my favourite special characters.

upon logging in on http://maemo.org/vote/, i am asked to provide my email and a token from the mail.
on the next page i am supposed to choose the characters, but the fields are empty.

a quick debug shows that at line 167 there's an unterminated string constant.

this election should probably have been tested before sending out the mails asking people to vote...
Thanks to Ferenc we have patched this up temporarily - you no longer see a backslash, you see the text "backslash".

How did this happen? Easy - in the database we inserted '\\', '£' and '€' as options for the election. MySQL escaped \\ to \, which gets inserted in the javascript that constructs the candidate list, resulting in option4='\', instead of '\\'. We will get it fixed properly tomorrow by replacing € with €, and £ with £ and \\ replaced with \\\\. In the meantime, text it is.

Cheers,
Dave.