[haiku-bugs] Re: [Haiku] #13043: Cookies Not Enabled Error in Webpositive

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 31 Oct 2016 08:01:22 -0000

#13043: Cookies Not Enabled Error in Webpositive
----------------------------------------+----------------------------
   Reporter:  vidrep                    |      Owner:  pulkomandy
       Type:  bug                       |     Status:  closed
   Priority:  normal                    |  Milestone:  Unscheduled
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:  fixed                     |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------
Changes (by pulkomandy):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Mh… These guys surely know how to mess up expiration dates in cookies!

 {{{
 Set-Cookie: TD-persist=BDC;expires=Mon, 31-Oct-2016 08:08:40 GMT;path=/;
 }}}

 31 oct is a sunday in this part of the world.

 {{{
 Set-Cookie: sitecontext=58fdf13f-cc86-4e6d-af44-3676834fdf99; Expires=Tue,
 19-Oct-66 07:08:40 GMT; Path=/; Domain=.td.com; Secure
 Set-Cookie: BID=dd0233c2-5fa5-473d-af30-486a7659e47d-2354188815;
 Expires=Sat, 21-Oct-56 07:08:40 GMT; Path=/waw/idp; Domain=td.com; Secure
 }}}

 Using 2-digit year is not a good idea, but is allowed by the HTTP spec. We
 parse those as year 56 and 66 B.C., where it should be 2056 and 2066.

 Anyway, fixed in hrev50636.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13043#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: