Fixes to checking if mailbox name is valid. In case mailbox name is invalid, put it through str_sanitize() before giving it in an error message.
Fixes to checking if mailbox name is valid. In case mailbox name is invalid,
put it through str_sanitize() before giving it in an error message.

--HG--
branch : HEAD

jkerihuel/dovecot,jkerihuel/dovecot,dscho/dovecot,dscho/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,dscho/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,dscho/dovecot,dscho/dovecot,jkerihuel/dovecot