alooi14 / editthiscookie

Automatically exported from code.google.com/p/editthiscookie
0 stars 0 forks source link

localhost cookies cannot be created #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to http://localhost (note: you must have a webserver installed)
2. Open Edit This Cookie
3. Attempt to create a cookie

What is the expected output? What do you see instead?
Expected: Cookie is created.

Actual: Cookie is not created, and no error message.

What version of the product are you using? On what operating system?
Windows 7 x64
Chrome 15.0.874.121
Edit This Cookie v0.14.4

Please provide any additional information below.

Original issue reported on code.google.com by amm...@gmail.com on 13 Dec 2011 at 7:19

GoogleCodeExporter commented 8 years ago
You can try using 127.0.0.1 instead of localhost which is sure to work. I have 
fixed the bug and now should work also on localhost. The fix will be included 
in version 0.14.5 between today and tomorrow. Can you confirm it works?

Original comment by fcap...@gmail.com on 23 Dec 2011 at 11:21

GoogleCodeExporter commented 8 years ago
Sorry, doesn't work with 0.14.5.

Original comment by latch...@gmail.com on 25 Dec 2011 at 6:31

GoogleCodeExporter commented 8 years ago
It seems like a workaround. Looks like on localhost when creating a cookie, it 
uses 127.0.0.1 for the domain which is okay for localhost, but something like 
that won't work when you have other name based virtual hosts. For example, I 
also have a local web server that is attached to the domain dev (ie 
http://dev/index.php) and so in a case like that, I cannot set a cookie for the 
domain 'dev'...unless i pull up the javascript console and create it myself.

Original comment by amm...@gmail.com on 27 Dec 2011 at 5:05

GoogleCodeExporter commented 8 years ago
Thing is... this used to work... how hard is it to revert to the code which did 
the job correctly?

Original comment by latch...@gmail.com on 27 Dec 2011 at 5:39

GoogleCodeExporter commented 8 years ago
reverted

Original comment by fcap...@gmail.com on 29 Dec 2011 at 3:57

GoogleCodeExporter commented 8 years ago
I think this is still broken. It has never worked for me. Using 

Edit This Cookie 0.14.8
chrome 16.0.912.75 m

Trying to add a cookie to localhost:8080

I have tried 127.0.0.1, 127.0.0.1:8080, localhost, localhost:8080

Original comment by ori.schw...@gmail.com on 16 Jan 2012 at 8:31

GoogleCodeExporter commented 8 years ago
Adding a Localhost cookie does not work for me either. I am using a port of 
3000 on my local machine. I am using version 0.31. However if i use 127.0.0.1 
with no port in the 'add cookie' interface it does work

recap:
localhost:3000 addCookie fails
localhost addCookie fails
127.0.0.1:3000 addCookie fails
127.0.0.1 addCookie success!

Edit This Cookie 0.31
chrome: 20.0.1132.57 m

Original comment by quadradi...@gmail.com on 31 Jul 2012 at 2:35

GoogleCodeExporter commented 8 years ago
Try set the cookie_domain to "" and the cookie can be created for the localhost 
also.
It worked fine for me.

Original comment by shreeo...@gmail.com on 13 Mar 2013 at 5:41

GoogleCodeExporter commented 8 years ago
Seems like there is a regression of this issue. I can't create cookies for 
localhost in the version 1.4

Original comment by back...@cloud.upwork.com on 29 Apr 2014 at 8:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Yep, it's not working for me either. Need to set the domain to empty string and 
then it does work.

Original comment by matt.fr...@gmail.com on 29 Aug 2014 at 10:40

GoogleCodeExporter commented 8 years ago
set domain = "" worked for me as of today's latest version: 1.4.1

Original comment by sherry.w...@apmasphere.com on 9 Dec 2014 at 5:24

GoogleCodeExporter commented 8 years ago
Still a problem.

Original comment by OliverJAsh on 13 May 2015 at 1:37