Cookies with expiration date on Sunday are stored incorrectly
When a cookie has an expiration date of Sunday, the cookie is stored to disk incorrectly. Instead of storing "Sun" as the day, it stores "?".
I tracked this to commit hrev50924 which sets the day of the week when converting the BHttpTime as a string. The DayOfWeek function returns 7 for Sunday while the strftime expects 0 for Sunday.
I have an example that shows the problem and a patch that fixes the problem in BHttpTime.
new → closed