The default bug view has changed. See this FAQ.

IRAN.ir should be known as an Effective TLD

RESOLVED FIXED

Status

()

Core
Networking
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: zwnj, Assigned: Pam Greene)

Tracking

({verified1.9.1, verified1.9.2})

unspecified
verified1.9.1, verified1.9.2
Points:
---

Firefox Tracking Flags

(status1.9.2 .4-fixed, status1.9.1 .10-fixed)

Details

Attachments

(1 attachment, 2 obsolete attachments)

(Reporter)

Description

7 years ago
At IRNIC (.ir ccTLD Registyr) users are able to register domain under the following second-level domain names, which both translate to IRAN.ir.

 * ایران.ir  	xn--mgba3a4f16a.ir (Persian YEH)
 * ايران.ir  	xn--mgba3a4fra.ir (Arabic YEH)

This TLD has been active since 2004 and will be active in the next 6 years.  Would you please add these to the list of Effective TLDs to increase the security of these domains?  (Please let me know if you prefer I make the patch)
(Reporter)

Comment 1

7 years ago
The page describing the policies I mentioned in the description: http://www.nic.ir/Internationalized_Domain_Names
(Reporter)

Comment 2

7 years ago
And here's an example site: http://وب.ریرا.ایران.ir/
(Reporter)

Comment 3

7 years ago
You may also want to update the link (in netwerk/dns/src/effective_tld_names.dat) from "http://www.nic.ir/ascii/Appendix1.htm" to "http://www.nic.ir/Terms_and_Conditions_ir,_Appendix_1_Domain_Rules".

(thanks and sorry for the noise...)
Should this be added to http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/src/effective_tld_names.dat?  I don't see any IDN entries in that file.
(Reporter)

Comment 5

7 years ago
Not sure where to add it, but DMC page says "All returned strings are encoded in ASCII/ACE and normalized according to RFC 3454." (https://developer.mozilla.org/en/nsIEffectiveTLDService)

IIRC .kr have had similar setup as .ir for a few years.
I actually meant to CC Gerv and pkasting on my question in comment 4.  :-)

Comment 7

7 years ago
It looks to me like e.g. .hk has some Unicode domains.  Seems like we should probably add the Unicode, not punycode, versions?  pamg would probably know...
Yes, that file is UTF-8. If we were to do this, we would add the Unicode versions.

However, there are several issues:

0) The two forms in comment 0 look identical to me. We would need to check that the .ir homograph policy was being applied to registrations across the two effective TLDs.

1) https://www.nic.ir/IDN says:

" IDNs are not allowed under dot-ir (.ir) TLD. Domain names under dot-ir contain ASCII characters only."

How does that fit with the existence of <iran>.ir?

2) We would need an application from the owners of <iran>.ir.

Gerv

Comment 9

7 years ago
Dear Gerv,

As a member of technical team at IRNIC, the .IR ccTLD Registry, I ask the Mozilla project to add the following IDN second-level domains to the list of Effective TLDs.

 * ایران.ir      xn--mgba3a4f16a.ir (Persian YEH, U+06CC)
 * ايران.ir      xn--mgba3a4fra.ir (Arabic YEH, U+0649)

Regarding the issue 0, yes, they look exactly alike and both Arabic and Persian YEH are used regularly by users, and this is the reason .IRAN.ir is actually mapped to two zones.

The bundling rules are describet at https://www.nic.ir/Allowable_Characters_dot-iran?lang=en#Table_3

And here are a few samples of the bundling rules:
https://tools.nic.ir/Punycode_Converter?name=%D8%A7%DB%8C%D8%B1%D8%A7%D9%86.ir
https://tools.nic.ir/Punycode_Converter?name=%D8%B1%DB%8C%E2%80%8C%D8%B1%D8%A7.%D8%A7%DB%8C%D8%B1%D8%A7%D9%86.ir

And about the second issue, We had the same discussion back in 2007, please find the answers on bug 406314 comment 8.  (I will fix the paragraph in IDN page to make it more clear)

Also, please update the link to the list of ASCII second-level Effective TLDs to http://www.nic.ir/Terms_and_Conditions_ir,_Appendix_1_Domain_Rules .

Thanks in advance,
-Behnam Esfahbod
IRNIC, the .IR ccTLD Registry
(Reporter)

Comment 10

7 years ago
Just to be sure, am I needed to provide more info?
(Assignee)

Comment 11

7 years ago
Created attachment 439500 [details] [diff] [review]
Adds two <iran>.ir entries and updates URL

Here's hoping my tools handled the bidi text correctly...
Assignee: nobody → pamg.bugs
Status: NEW → ASSIGNED
Attachment #439500 - Flags: review?(gerv)
(Assignee)

Comment 12

7 years ago
Created attachment 439501 [details] [diff] [review]
Fixed typo (missing "x" in one of the comments)
Attachment #439500 - Attachment is obsolete: true
Attachment #439501 - Flags: review?(gerv)
Attachment #439500 - Flags: review?(gerv)
(In reply to comment #11)
> Here's hoping my tools handled the bidi text correctly...

They seem to be correct to me.
(Reporter)

Comment 14

7 years ago
Thanks Pam for the patch.  The entries are fine.  For the record, here are the UTF-8 sequences:
1. <d8 a7 db 8c d8 b1 d8 a7 d9 86 2e 69 72>
2. <d8 a7 d9 8a d8 b1 d8 a7 d9 86 2e 69 72>

Also you may want to add http://www.nic.ir/Internationalized_Domain_Names as the source for the two <iran>.ir entries as well.
(Assignee)

Comment 15

7 years ago
Created attachment 439902 [details] [diff] [review]
Adds additional reference URL, and now a proper Hg diff
Attachment #439501 - Attachment is obsolete: true
Attachment #439902 - Flags: review?(gerv)
Attachment #439501 - Flags: review?(gerv)
Comment on attachment 439902 [details] [diff] [review]
Adds additional reference URL, and now a proper Hg diff

r=gerv.

Gerv
Attachment #439902 - Flags: review?(gerv) → review+
(Assignee)

Updated

7 years ago
Keywords: checkin-needed
Pushed.
http://hg.mozilla.org/mozilla-central/rev/6320fd00e481

Gerv
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Reporter)

Comment 18

7 years ago
Thanks dear Pam and Gerv.

Just one question, which of 1.9.0, 1.9.1, and 1.9.2 branches will have this fix?
Comment on attachment 439902 [details] [diff] [review]
Adds additional reference URL, and now a proper Hg diff

(In reply to comment #18)
> Thanks dear Pam and Gerv.
> 
> Just one question, which of 1.9.0, 1.9.1, and 1.9.2 branches will have this
> fix?

Right now it's on trunk.  I'm requesting approval for 1.9.1 and 1.9.2, however, 1.9.0 is EOL'ed and there's no port in backporting this patch there.
Attachment #439902 - Flags: approval1.9.2.4?
Attachment #439902 - Flags: approval1.9.1.10?
Comment on attachment 439902 [details] [diff] [review]
Adds additional reference URL, and now a proper Hg diff

a=beltzner for both branches, please land on mozilla-1.9.1 default and mozilla-1.9.2 default and mozilla-1.9.2 GECKO1924_20100413_RELBRANCH
Attachment #439902 - Flags: approval1.9.2.4?
Attachment #439902 - Flags: approval1.9.2.4+
Attachment #439902 - Flags: approval1.9.1.10?
Attachment #439902 - Flags: approval1.9.1.10+
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/696564543249
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/2aa5cec03c3f
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/2f581099a2b3
status1.9.1: --- → .10-fixed
status1.9.2: --- → .4-fixed

Updated

7 years ago
Keywords: checkin-needed
Verified for 1.9.1 and 1.9.2 in source.
Keywords: verified1.9.1, verified1.9.2
You need to log in before you can comment on or make changes to this bug.