-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
B-bugBug: general classificationBug: general classificationS-unverifiedStatus: Unverified by maintainerStatus: Unverified by maintainer
Description
Expected Behavior
When a Set-Cookie header is sent by server, after a cookie with the same name exists in the client, Insomnia creates a second cookie rather than overwriting the existing cookie.
Actual Behavior
When using insomnia to test api's that deal with login, i've seen a problem when the user sets the auth cookie more than once - Insomnia does not handle cookies properly. The expected behavior is for insomnia to overwrite the cookie, instead it adds it to the cookie store as an additional cookie.
Reproduction Steps
- Create a server which sets a different cookie on each request.
- Send request 1: cookie A1 will be returned.
- Send request 2: (cookie A1 will be sent) - cookie A2 will be returned.
- Send request 3: cookie A1 will still be sent
Is there an existing issue for this?
- I have searched the issue tracker for this problem.
Which sync method do you use?
- Git sync.
- Insomnia Cloud sync.
- Local only
Additional Information
No response
Insomnia Version
11.2.0
What operating system are you using?
macOS
Operating System Version
macos sequoia 15.3.1
Installation method
insomnia website
Last Known Working Insomnia version
No response
garryfreeman
Metadata
Metadata
Assignees
Labels
B-bugBug: general classificationBug: general classificationS-unverifiedStatus: Unverified by maintainerStatus: Unverified by maintainer