WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#9101 closed defect (bug) (fixed)

HTTP Cookies causes a fatal error with certain cookies

Reported by: 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 6 years ago.

Download all attachments as: .zip

Change History (2)

@DD326 years ago

comment:1 @ryan6 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.