By default, $same_site is null in the core Fuel config, but Fuel later attempts to cast the value to a string, converting null into an empty string. The checks in our overriden cookie class don't catch the empty string value, so sameSame='None' did not get applied correctly. The cookie class will now check for an empty string value and update $same_site to 'None' manually.
By default,
$same_site
is null in the core Fuel config, but Fuel later attempts to cast the value to a string, convertingnull
into an empty string. The checks in our overridencookie
class don't catch the empty string value, sosameSame='None'
did not get applied correctly. The cookie class will now check for an empty string value and update$same_site
to'None'
manually.