Opened 16 years ago
Closed 16 years ago
#12316 closed defect (bug) (fixed)
WP_HTTP doesnt handle 'HttpOnly' cookies correctly
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | HTTP API | Keywords: | has-patch needs-testing |
| Focuses: | Cc: |
Description
Spits on an error: Notice: Undefined offset: 1 in G:\www\wordpress-commit\wp-includes\class-http.php on line 1737
This is due to $pair being set to " HttpOnly" at list( $key, $val ) = explode( '=', $pair );}
An example site of this is http://google.com/
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Make sure that $pair is really a pair, if not set $key to $pair and $val to