Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#7518 closed defect (fixed)

Validate URL: new TLD rs

Reported by: schkovich Owned by: dante
Priority: high Milestone: 1.2
Component: Dojox Version: 1.1.1
Keywords: validate, URL, TLD, rs Cc:
Blocked by: Blocking:

Description

dojox.validate.isUrl is not validating TLD rs.

Since March this year new TLD "rs" has been added. TLD "yu" is going to be deleted as of September 30 2009. http://en.wikipedia.org/wiki/.rs

Resolution:
In dojox.validate.regexp on line 44 between ro and ru rs should be added e.g. variable ccRE should read:

	// Country Code top-level domains RE
	var ccRE = 
		"ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|" +
		"bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|" +
		"ec|ee|eg|er|eu|es|et|fi|fj|fk|fm|fo|fr|ga|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|"
		+
		"gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kr|kw|ky|kz|" +
		"la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|" +
		"my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|" +
		"re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sk|sl|sm|sn|sr|st|su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|" +
		"tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw";

Change History (8)

comment:1 Changed 6 years ago by dante

  • Milestone changed from tbd to 1.2
  • Owner changed from peller to dante

Interesting. The wikipedia article indicates both .rs and .me have been added and .yu will be removed in 2009 ... I wonder if there is a way to set a specific date on a ticket, or if yu should be left for legacy purposes?

comment:2 Changed 6 years ago by schkovich

I think that TLD "yu" must stay until September 30, 2009. After that it should be removed. I will remind you on October 1st next year. :)

I am sorry about forgetting on Montenegro. With "me" TLD added variable ccRE should read:

	// Country Code top-level domains RE
	var ccRE = 
		"ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|" +
		"bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|" +
		"ec|ee|eg|er|eu|es|et|fi|fj|fk|fm|fo|fr|ga|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|"
		+
		"gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kr|kw|ky|kz|" +
		"la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|" +
		"my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|" +
		"re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sk|sl|sm|sn|sr|st|su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|" +
		"tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw";

comment:3 Changed 6 years ago by dante

  • Resolution set to fixed
  • Status changed from new to closed

(In [14945]) fixes #7518 - adding .rs and .me TLD's to validation regexp -- thanks for catching that! I'm holding you too reminding me in 2009 - but I put a note inline regardless.

comment:4 follow-up: Changed 6 years ago by peller

I thought I heard they're opening up the TLDs to anyone who wants to register.

comment:5 in reply to: ↑ 4 Changed 6 years ago by schkovich

Replying to peller:

I thought I heard they're opening up the TLDs to anyone who wants to register.

sort of. :) http://www.icann.org/en/tlds/application-process-03aug00.htm

Root Zone Database: http://www.iana.org/domains/root/db/

comment:6 Changed 5 years ago by peller

see #7957

comment:7 Changed 5 years ago by schkovich

During yesterdays ICANN Board Meeting decision to extend life of .yu TLD for next six months was reached.

comment:8 Changed 4 years ago by schkovich

Although it is of no relevance but .yu TLD id finally shut down today at noon. :)

Note: See TracTickets for help on using tickets.