[sork] Patch for vacation, concerns PEAR addresslistparser

Espen Jürgensen espen at hhkol.dk
Wed Jul 21 13:08:24 PDT 2004


From: "Chuck Hagenbuch" <chuck at horde.org>


> Try what I just committed, which takes your patch and then uses the
> rfc822_explode function we used to have instead of straight explode()
> to split the list, ignoring quoted commas, backslashed commas, etc.

I haven't tried it yet, but I looked at the code, and it looks great.
Obviously ignoring quoted commas is a good thing.

Notice that my patch "exploded", then picked out the information it needed,
and then "imploded" back again. This approach partially avoided those kind
of problems. It did however leave a small problem in those cases where the
vacation-string contained a comma (probably rare, but I suppose it happens
if you have multiple aliases). Your correction will fix that.

Regards,
Espen



More information about the sork mailing list