Export to GitHub

fbug - issue #5554

Cookies from IDN domains are not shown


Posted on Mar 5, 2011 by Grumpy Ox

What steps will reproduce the problem? 1. open site like "кириличесскийдомен.рф" (Russian zone) 2. can`t found any cookies in firecookie 3. :(

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system? varsion 1.2 instal today

P.S. Whats happening with interface in 1.2 version? is it OK?... image in attach

Attachments

Comment #1

Posted on Mar 8, 2011 by Massive Wombat

Please try: http://www.softwareishard.com/firecookie/archive/firecookie-1.2.1b1.xpi

and let me know if you still see the problem.

Thanks! Honza

Comment #2

Posted on Mar 9, 2011 by Grumpy Ox
  1. interface in 1.2.1b & 1.2.1 is ok
  2. problem with cyrillic symblos in domain name is relevant still.
    • win 7
    • firefox 3.6.15
    • firebug 1.6.2
    • firecookie 1.2.1b and 1.2.1 for example: in editcookie window cyrillic domain "кредит-на-карту.рф" look like: "xn-----7kcbqfwng1a2ajthp.xn--p1ai"
Attachments

Comment #3

Posted on Jun 12, 2012 by Helpful Wombat

http://кредит-на-карту.рф/ doesn't seem to exist. So here's an accessible website:

http://müller.de/

It sets a session cookie under the host xn--mller-kva.de, which is not listed inside the Cookies panel.

Tested this with Firefox 16.0a1 + Firebug 1.10a11 (has Firecookie integrated) on Win7.

Sebastian

Comment #4

Posted on Jun 14, 2012 by Helpful Wombat

Trying to move the issue to the Firebug issue tracker.

Sebastian

Comment #5

Posted on Sep 6, 2012 by Helpful Wombat

https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIIDNService should help here. A little investigation showed that it's filtered out by CookieObserver.isHostFromURI().

Honza, are you going to work on this?

Sebastian

Comment #6

Posted on Sep 6, 2012 by Helpful Wombat

I think I already found the solution.

Honza, could you please review the attached patch?

Sebastian

Attachments

Comment #7

Posted on Sep 7, 2012 by Massive Wombat

The fix looks ok to me and also fixes the test case from comment #3

Thanks Sebastian!

Honza

Comment #8

Posted on Sep 7, 2012 by Helpful Wombat

Thanks for the review. Committed the patch in https://github.com/firebug/firebug/commit/b53d47daab996ea04a892b8d6b20687bd6733e61.

Sebastian

Comment #9

Posted on Sep 7, 2012 by Helpful Wombat

Btw. there was another discussion about this at https://groups.google.com/d/topic/firebug/IHIhQRr9nNg.

The page mentioned there was http://просеки.рф/.

Sebastian

Comment #10

Posted on Sep 13, 2012 by Massive Wombat

This issue has been fixed in Firebug 1.11.0a3 https://getfirebug.com/releases/firebug/1.11/firebug-1.11.0a3.xpi

Please try it and let us know whether it works for you.

Thanks for the help! Honza

Status: Fixed

Labels:
Type-Defect cookies 1.10-a11 Test-case-available FBTest-wanted fixed-1.11-a3