diff options
author | jcid <devnull@localhost> | 2008-10-15 15:51:01 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-10-15 15:51:01 +0200 |
commit | 3c6000709899ba2df7d94d281ab211b30dd70320 (patch) | |
tree | 161ed8db5afc620af749cc0a584d714f3268f6ab | |
parent | 321e48930d7de527bfa73367f3e54a915039d120 (diff) |
- Allow login to wikipedia by ignoring the HttpOnly attribute (cookies)
-rw-r--r-- | dpi/cookies.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dpi/cookies.c b/dpi/cookies.c index b7641372..62ea5458 100644 --- a/dpi/cookies.c +++ b/dpi/cookies.c @@ -909,6 +909,9 @@ static CookieData_t *Cookies_parse_one(int url_port, char **cookie_str) } } else if (dStrcasecmp(attr, "Secure") == 0) { cookie->secure = TRUE; + } else if (dStrcasecmp(attr, "HttpOnly") == 0) { + // this case intentionally left blank, we because do not (yet) + // do client-side scripting } else { /* Oops! this can't be good... */ MSG("Cookie contains unknown attribute: '%s'\n", attr); |