Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.6.0

Request #19937 cookie jar and invalid cookies
Submitted: 2013-05-07 18:22 UTC
From: till Assigned: avb
Status: Closed Package: HTTP_Request2 (version 2.1.1)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2013-05-07 18:22 UTC] till (Till Klampaeckel)
Description: ------------ This is more or less a RFC — I'm using HTTP_Request2 to request pages which I then use to extract content from. One of these pages/sites sent a ZDEDebuggerPresent cookie which after a little research seems to (always) contain invalid values. I was wondering if you think that adding capabilities to HTTP_Request2_CookieJar to blacklist certain cookies would be something you'd include in the package. I could work up a patch if you want to.

Comments

 [2015-06-30 14:26 UTC] avb (Alexey Borzov)
-Status: Open +Status: Closed -Assigned To: +Assigned To: avb
Implemented in Git: https://github.com/pear/HTTP_Request2/commit/ff4c09ef4c939c98fe1fda0f011226dcbeeba19e The CookieJar class now has an ignoreInvalidCookies() knob, setting it to true will prevent throwing exceptions for invalid cookies.