Issues
- can't parse expires date with cfcookieLDEV-5431Michael Offner
- GetHTTPTimeString is wrongly using hyphens in its datetime maskLDEV-5382Resolved issue: LDEV-5382Michael Offner
- LSparseDateTime() tests failing since java 21.0.6.7 update / IANA TZ Data 2024bLDEV-5279Zac Spitzer
- Date handling differences with 6.2LDEV-5278Resolved issue: LDEV-5278Pothys - MitrahSoft
- date tests failing with java 23LDEV-5204
- add support for epoch and epochms for ParseDateTimeLDEV-5173Michael Offner
- Performance Issue with <cfcookie> Tag Using expires="3"LDEV-5126Resolved issue: LDEV-5126Zac Spitzer
- switch to java.time.format.DateTimeFormatter from SimpleFormatLDEV-5115Resolved issue: LDEV-5115Michael Offner
- Weird behaviour when parsing datetime strings with fractional secondsLDEV-4831Resolved issue: LDEV-4831Michael Offner
- millisecond fraction is not correctly parsedLDEV-4825Resolved issue: LDEV-4825Michael Offner
- Java 19+ predefined date formatting changes - unicodeLDEV-4658Resolved issue: LDEV-4658Michael Offner
- date parsing regressionLDEV-4616Resolved issue: LDEV-4616Michael Offner
- don't accept strings of format “m d" as valid datesLDEV-4506Resolved issue: LDEV-4506Pothys - MitrahSoft
- Incompatibility - DateFormat() with mask 'ISO' return different result than ACFLDEV-4198Resolved issue: LDEV-4198Pothys - MitrahSoft
- ParseDateTime() with the format ISO return the wrong resultLDEV-4196Resolved issue: LDEV-4196Pothys - MitrahSoft
- Valid GetNumericDate passed as string to DateTimeFormat gives wrong dateLDEV-4002Michael Offner
- CreateODBCTime(now()).toString() returns incorrect resultLDEV-3993Resolved issue: LDEV-3993Michael Offner
- Date.convert not implementedLDEV-3959Resolved issue: LDEV-3959
- datetime.diff() doesn't works with named ArgumentsLDEV-3789Resolved issue: LDEV-3789Michael Offner
- DateTimeFormat adds comma to short on Java11LDEV-3744Michael Offner
- dateDiff member function throws error for dateTimeformat stringLDEV-3384Resolved issue: LDEV-3384Michael Offner
- LSCurrencyFormat and LSParseDateTime fail on windowsLDEV-3313Resolved issue: LDEV-3313Michael Offner
- LsDateTimeFormat always shows 10 minutesLDEV-3301Resolved issue: LDEV-3301Pothys - MitrahSoft
- serializeJson add this.serialization.dateformat (iso|cf)LDEV-3251
- utcnow() or now(‘utc’), and today() or today(‘utc’) functionsLDEV-3206Resolved issue: LDEV-3206
- new date time functions are implemented but hiddenLDEV-3115Resolved issue: LDEV-3115Michael Offner
- QueryNew does not treat "date" columns as datesLDEV-3031Michael Offner
- Add iso format for DateTimeFormatLDEV-2881Resolved issue: LDEV-2881Pothys - MitrahSoft
- avoid synchronized with DateTime FormatLDEV-2853Resolved issue: LDEV-2853Michael Offner
- ParseDateTime with YYYY-MM-DD mask returns wrong resultLDEV-2585Resolved issue: LDEV-2585Michael Offner
- add an epoch dateTimeFormat maskLDEV-2439Resolved issue: LDEV-2439Pothys - MitrahSoft
- new dayOfWeek calendar parameterLDEV-2160
- ParseDateTime, add predefined mask shortcut for javascript style ISO date strings (with ms)LDEV-2131Resolved issue: LDEV-2131Pothys - MitrahSoft
- Diff member function for dateDiff incompatible with ACFLDEV-2044Resolved issue: LDEV-2044Pothys - MitrahSoft
- lsParseDateTime() produces different results in Lucee vs ACFLDEV-1653
- parseDateTime() can't parse a valid string when using a patternLDEV-1652Resolved issue: LDEV-1652Michael Offner
- DateTimeFormat returns wrong value for ISO8601LDEV-862Resolved issue: LDEV-862Michael Offner
- Date conversion doesn't work correctly for IST timezoneLDEV-764Resolved issue: LDEV-764Michael Offner
- dateConvert() is not converting UTC correctlyLDEV-408Resolved issue: LDEV-408Michael Offner
can't parse expires date with cfcookie
Description
Environment
Details
Assignee
Michael OffnerMichael OffnerReporter
Jon ClausenJon ClausenPriority
NewNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
Details
Details
Assignee
Reporter
Priority
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
Activity
Michael Offner28 March 2025 at 16:15
NP, problem here is that we parse a date against multiple pattern and if none of them match, we throw an exception. problem is to distinct a useful exception message from one parser to the others that are not, the parse index sadly does not help, because it “fails“ very early.
i will keep the ticket open, but remove the “regression” keyword, so it will not stop the Lucee 6.2.1 release (this is not a regression from 6.2.0 to 6.2.1 anyway)
We work on improve the performance of the parser anyway, maybe we can also improve this situation alongside.
Jon Clausen28 March 2025 at 15:43
That is interesting! I actually pulled that date from a test case that was failing. I will correct that date to a valid one. Sorry for making you run this one down.
Michael Offner28 March 2025 at 15:34
in Lucee 6 we switched from the old SimpleDateFormat to the modern DateTimeFormatter that seem to be more percise, problem is your date "Mon, 31 Dec 2038 23:59:59 GMT"
is invalid, this day is a Friday and not a Monday, so it should be "Fri, 31 Dec 2038 23:59:59 GMT"
, it took me far to long to find that out myself, only dumping some underlaying exceptions
i will see if we can expose the underlaying exception as caused by so it will be clearer, so you could say this was a bug in Lucee 5 that it did accept this invalid date.
Zac Spitzer25 March 2025 at 18:25
throws