]> khamidou — GitHub mirrors - imapclient.git/commit
Correctly handle \" in quoted strings.
authorMenno Smits <menno@freshfoo.com>
Thu, 29 Apr 2010 13:01:30 +0000 (14:01 +0100)
committerMenno Smits <menno@freshfoo.com>
Thu, 29 Apr 2010 13:01:30 +0000 (14:01 +0100)
commit57b12b944075080a9aa6f6c7a410753314f5b2af
tree5fca20edf6b1b4ca8d891c52de1e913e8f9c6e7b
parent9dcbd14224d60c47ad870ff8371b80856b3a91da
Correctly handle \" in quoted strings.

(As reported in comments of #28)

It turns out these were being handled twice causing them to be
incorrectly removed if a string started with a double quote.

Extended tests to cover more cases around escaped double quotes. Prior
to this the test weren't covering enough cases.
imapclient/response_parser.py
imapclient/test/test_IMAPClient.py
imapclient/test/test_response_parser.py