Revision 8c1a01e...

Go back to digest for 30th March 2014

Bug Fixes in KDE-PIM

Jan Kundrát committed changes in [trojita] /Imap:

IMAP: allow ']' when parsing an astring

The IMAP code would by mistake reject tokens that contain a resp-special
character ']' when asked for parsing astrings. This was because the of the rule:

ATOM-CHAR = <any CHAR except atom-specials> rule

...which confused me enough so that I ignored an explicit allowance for the
resp-specials earlier in the ASTRING-CHAR rule.

Thanks to Miguel (DeviantPeer on IRC) for reporting this.
Sorry for the trouble.


REVIEW: 117105

File Changes

Modified 3 files
  • /Imap
  •   tests/test_Imap_LowLevelParser.cpp
  •   src/Parser/LowLevelParser.cpp
  •   src/Parser/LowLevelParser.h
3 files changed in total