Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#9101 closed defect (bug) (fixed)

HTTP Cookies causes a fatal error with certain cookies

Reported by: DD32 Owned by:
Priority: normal Milestone: 2.8
Component: HTTP API Version: 2.8
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

a cookie similar to this:

trac_session=f3c3a30fe67af2b691f5a34d; expires=Wed, 13-May-2009 01:18:55 GMT; Path=/;

will cause a fatal error, due to the final ; creating an empty pair. See attached patch.

Attachments (1)

9101.diff​ (746 bytes ) - added by DD32 18 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
18 years ago

  • Resolution → fixed
  • Status new → closed

(In [10565]) Handle empty pairs in cookies. Props DD32. fixes #9101

Note: See TracTickets for help on using tickets.