changeset 1613:0f26b1d4ac2e

if ignoring Expires attr, eat value
author corvid <corvid@lavabit.com>
date Wed, 10 Mar 2010 03:07:08 +0000
parents 3eb2cd09244d
children d6624cbf9beb
files dpi/cookies.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/cookies.c	Wed Mar 10 03:04:45 2010 +0000
+++ b/dpi/cookies.c	Wed Mar 10 03:07:08 2010 +0000
@@ -770,6 +770,8 @@
             }
             expires = TRUE;
             dFree(value);
+         } else {
+            Cookies_eat_value(&str);
          }
       } else if (dStrcasecmp(attr, "Secure") == 0) {
          cookie->secure = TRUE;