9 Mar
1999
9 Mar
'99
5:31 a.m.
Oops, the previous patch is reversed... Here is the good one
Hello,
I believe there is a bug in Confera: it sets a cookie that is hardcoded to last until 31-Dec-99. According to the spec, a cookie that is meant to last forever have to last until (currentdate+one year). Attached is a patch that adress that issue.
CurrentDate+OneYear is computed with:
e=(self.ZopeTime()+365).rfc822()
However, as stated some time ago, this poses problem on computers where the timezone is odd (mine, for example. I had to patch DateTime.py) So, If the above expression raise an exception, I end up in using e='31-Dec-99 23:59:59 GMT'
Regards, Jephte CLAIN