thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.61k stars 126 forks source link

Cookies received from "localhost" are being saved as domain "127.0.0.1" and not sent to "localhost" in subsequent requests #1473

Closed davidkhess closed 6 months ago

davidkhess commented 7 months ago

Describe the bug

When I make a request to "localhost" and receive a cookie back, the cookie manager shows it stored for domain "127.0.0.1". On subsequent requests to "localhost" the stored cooke is not sent.

To Reproduce

Make a request to "localhost" that returns a cookie. Look in Cookie Manager and see it stored for domain "127.0.0.1". Make another request to "localhost" and verify in the console that the cookie is not sent.

Expected behavior

Cookies returned from "localhost" should be stored in the cookie manager under domain "localhost".

Platform:

Note, I can downgrade to version 2.16.3 and this bug is not present. Received cookies are stored as "localhost" and sent as expected.

I haven't tested all versions in between to see which version introduced it though.

Are you using the free version/paid version/trial:

Paid version.

rangav commented 7 months ago

Hi @davidkhess

Thanks for reporting the bug, will fix it ASAP.

If you turn off setting Preview Featuresin TC settings, then it should work as previous version.

davidkhess commented 6 months ago

I guess you meant turn that setting off?

Regardless, thanks! Great extension and great support. Worth every penny.

rangav commented 6 months ago

Yes - Turn off.

Thanks, glad you like the extension :)

alperencapar commented 6 months ago

Disabling the Preview Features works for now.

rangav commented 6 months ago

The preview features setting is turned off by default in the new update v2.17.8