Steps to reproduce -
-
Go to about:addons and set Export template to Netscape for Cookie Quick Manager.
-
Go to Cookie Quick Manager options moz-extension://<EXTENSION_GUID>/options.html and delete all cookies
-
Login to your website of choice.
-
Go to Cookie Quick Manager options and Save all to cookies.txt
-
Delete all cookies.
-
Restore cookies from cookies.txt
-
Go to your website of choice again, and refresh the webpage.
-
You're logged out!
This only happens when restoring Netscape formatted cookies.txt. Restoring cookies.json works fine.
In my investigation, I found that some fields are missing from cookies.txt that are present in cookies.json
-
Login to website, say github.com
-
Export to cookies.json
-
Delete all cookies in cookie quick manager.
-
Restore cookies.json
-
Change to Netscape format from JSON format in about:addon options.
-
Go to Cookie Quick Manager options and Export to cookies.txt
-
Delete all cookies in cookie quick manager.
-
Restore cookies.txt
-
Change to JSON format from Netscape format in about:addon options.
-
Export to cookies(1).json
-
diff 'cookies(1).json' 'cookies.json'
-
cookies(1).json and cookies.json should be identical but they are not. Some fields have been changed.
The original cookies.json had
"HTTP only raw": "true",
"SameSite raw": "lax",
"First Party Domain": "github.com"
but in cookies(1).json that has been changed to
"HTTP only raw": "false",
"SameSite raw": "no_restriction",
"First Party Domain": ""
Thanks for the extension @ysard . When you're not busy, I hope you or someone else gets around to fixing this issue.
Thanks!
Steps to reproduce -
Go to about:addons and set Export template to Netscape for Cookie Quick Manager.
Go to Cookie Quick Manager options moz-extension://<EXTENSION_GUID>/options.html and delete all cookies
Login to your website of choice.
Go to Cookie Quick Manager options and Save all to
cookies.txtDelete all cookies.
Restore cookies from
cookies.txtGo to your website of choice again, and refresh the webpage.
You're logged out!
This only happens when restoring Netscape formatted
cookies.txt. Restoringcookies.jsonworks fine.In my investigation, I found that some fields are missing from
cookies.txtthat are present incookies.jsonLogin to website, say github.com
Export to cookies.json
Delete all cookies in cookie quick manager.
Restore cookies.json
Change to Netscape format from JSON format in about:addon options.
Go to Cookie Quick Manager options and Export to cookies.txt
Delete all cookies in cookie quick manager.
Restore cookies.txt
Change to JSON format from Netscape format in about:addon options.
Export to cookies(1).json
diff 'cookies(1).json' 'cookies.json'cookies(1).jsonandcookies.jsonshould be identical but they are not. Some fields have been changed.The original
cookies.jsonhadbut in
cookies(1).jsonthat has been changed toThanks for the extension @ysard . When you're not busy, I hope you or someone else gets around to fixing this issue.
Thanks!