github remix-run/remix headers@0.21.2
headers v0.21.2

latest releases: remix@3.0.0-rc.3, tar-parser@0.8.0, static-middleware@0.4.16...
4 hours ago

Patch Changes

  • Fix SetCookie accepting invalid SameSite values

    The SameSite check used /strict|lax|none/i as a substring test, so any value containing one of those words (e.g. SameSite=nonesense, SameSite=strictly) was accepted, capitalized, and re-serialized — violating the declared 'Strict' | 'Lax' | 'None' type. The regex is now anchored, and invalid values fall through to undefined like other malformed attributes.

Don't miss a new remix release

NewReleases is sending notifications on new releases.