I've seen a site that submits an expirey date in the
form not handled by jcookie
so I've changed parseHttpDateStringToDate in utils to
else if(iNumTokens == 6) // Its an RFC1123 date ...
wkday "," SP 2DIGIT SP month SP 4DIGIT SP time SP "GMT"
{ // or an asctime date with timezone
String dtok = null;
st.nextToken();
dtok = st.nextToken().trim();
if(dtok.length() == 2) // Its an RFC1123 date ...
wkday "," SP 2DIGIT SP month SP 4DIGIT SP time SP "GMT"
{
// Sun, 06 Nov 1994 08:49:37 GMT
format = "EEE, dd MMM yyyy HH:mm:ss zzz";
}
else if(dtok.length() == 3) // asctime date with
timezone
{
// Sun Nov 6 08:49:37 1994
format = "EEE MMM dd HH:mm:ss yyyy zzz";
}
else
{
return(null);
}
\}
Replace this class in your jar file
Utils expiry date handling