5

Postman does not send cookies with the Secure attribute in localhost · Issue #11...

 1 year ago
source link: https://github.com/postmanlabs/postman-app-support/issues/11467
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

According to this website https://learning.postman.com/docs/sending-requests/cookies/#creating-cookies secure cookies will only be sent if the URL begins with https:// however according to this website https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie secure cookies will only be sent if the URL begins with https:// with the exception of LOCALHOST

Steps To Reproduce

  1. Create a simple node.js server
  2. Inside the route of your node.js server print the cookies with console.log(req.headers.cookie)
  3. Open a new request in postman
  4. Type the URL of your node.js server
  5. Create a cookie in postman with the Secure atributte
  6. Make the request
  7. See your console

Screenshots or Videos

No response

Operating System

Linux/Ubuntu

Postman Version

v9.31.23

Postman Platform

Postman App

Additional Context?

No response

carru93, Betabetto, stanleyzzheng, jihoon416, PawelJ-PL, joisak, tbareich, dominicwest, BieLuk, danial-k, and 6 more reacted with thumbs up emoji

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK