Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#9101 closed defect (bug) (fixed)

HTTP Cookies causes a fatal error with certain cookies

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

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 16 years ago.

Download all attachments as: .zip

Change History (2)

@DD32
16 years ago

#1 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.