Opened 17 years ago
Closed 17 years ago
#12316 closed defect (bug) (fixed)
WP_HTTP doesnt handle 'HttpOnly' cookies correctly
| Reported by: | dd32 | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | HTTP API | Version: | |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Make sure that $pair is really a pair, if not set $key to $pair and $val to