Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some bugs in TIdIMAP4
#4
(05-29-2019, 05:00 PM)johnmay Wrote: it is easy to produce:

Maybe for you, but I don't have a working development system right now to run/debug code with.  The best I can do right now is review TIdIMAP4's source code (when time permits, which it hasn't lately) looking for any logic errors in the parsing that are not following the rules of RFC 3501.



UPDATE: I stepped through the logic for parsing the example envelope you posted earlier.  In IdIMAP4.pas, on line 5811 in ParseIntoBrackettedQuotedAndUnquotedParts(), change this:

AParams.Add(LParamater);

To this:

AParams.Add(ResolveQuotedSpecials(LParamater));

And see if it solves your problem.

You might also need to make a similar change on lines 5700 and 5853, too.

Reply


Messages In This Thread
Some bugs in TIdIMAP4 - by johnmay - 05-27-2019, 05:38 PM
RE: Some bugs in TIdIMAP4 - by rlebeau - 05-29-2019, 12:13 AM
RE: Some bugs in TIdIMAP4 - by johnmay - 05-29-2019, 05:00 PM
RE: Some bugs in TIdIMAP4 - by rlebeau - 06-11-2019, 07:10 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)