CFCOOKIE - Incompatibility with ACF

Description

The "expires" parameter of cfcookie is only accepting integer values.
CF 9.01 is accepting floating point values to have a shorter expire time than 1 day.

<cfcookie name="testCookie1" value="ENG" expires=0.417>

The 0.417 represents the 10hrs (10/24).
This works fine in CF 9.01. However in Lucee, it looks like only integer numbers are allowed, and in my example, the Cookie expires immediately (I suspect the 0.417 becomes 0).

Support discussion: https://dev.lucee.org/t/cf-lucee-incompatibility-for-cfcookie/6261

lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/type/scope/CookieImpl.java#L263

Environment

None

Status

Assignee

Michael Offner

Reporter

Gunter Otté

Labels

Affects versions

Priority

New
Configure