medium85%
cookies().getAll() does not return all duplicate cookies with same name
In Next.js App Router, when a request contains multiple cookies with the same name, cookies().getAll() returns only the last cookie instead of all matching cookies, contrary to documentation. The issue stems from cookie parsing that uses a Map-like structure, which overwrites duplicate names.
