modoboa/modoboa-webmail

Cyrillic flag names cause parser error

zluque opened this issue · 0 comments

When i open my Inbox with mails having flags named in cyrillic letters a parser exception is thrown.
I added characters +#,& to the RegEx mask to fix this:
("flag", r'(\\|\$)?[a-zA-Z0-9\-_+#,&]+'),

("flag", r'(\\|\$)?[a-zA-Z0-9\-_]+'),