[reSIProcate] Bug in DateCategory::parse()

david Butcher davidlbutcher at gmail.com
Fri Dec 2 20:35:30 CST 2005


My read of RFC3261 has the week day mandatory.

rfc1123 <http://www.faqs.org/rfcs/rfc1123.html>-date  =  wkday "," SP
date1 SP time SP "GMT"

Robert?

david



On 12/1/05, Martin Dill <mdill at newheights.com> wrote:
>
> Hi,
> There appears to be a bug in DateCategory::parse().
> As far as I can tell, it assumes that the date it is given will always be
> in
> the form 'Mon, 04 Nov 2002 17:34:15 GMT'. However, I think this is
> incorrect. According to RFC822, the day part is optional. When resip is
> given a date in the form '04 Nov 2002 17:34:15 GMT', without the day part,
> it fails with an exception of 'parsebuffer.cxx:78, Parse failed skipped
> over
> eof in context: Date'.
>
> Can someone verify this?
>
> Thanks
> Martin Dill
> NewHeights Software
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20051202/92bfdd7a/attachment.htm>


More information about the resiprocate-devel mailing list