[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[idn] Error in IDN eamples for testing



One of our engineers took a look at the IDN samples for testing, and found a
problem in the data. Apparently some of the UTF-8 is illegal (using 2
three-byte sequences for a supplementary character).

Mark

========

Hi Mark,
The following are the offending members of structure in Appendix A of
draft-josefsson-idn-test-vectors. The data claiming to be UTF-8 is actually
CESU-8.

struct stringprep
{
char *comment;
char *in;
char *out;
char *profile;
int flags;
int rc;
}
strprep[] =
{
..........
{
"Surrogate code U+DF42",
"\xED\xBD\x82", NULL, "Nameprep", 0,
STRINGPREP_CONTAINS_PROHIBITED
},
...........
{
"Larger test (shrinking)",
"X\xC2\xAD\xC3\xDF\xC4\xB0\xE2\x84\xA1\x6a\xcc\x8c\xc2\xa0\xc2"
"\xaa\xce\xb0\xe2\x80\x80", "xssi\xcc\x87""tel\xc7\xb0 a\xce\xb0 ",
"Nameprep"
},
{
"Larger test (expanding)",
"X\xC3\xDF\xe3\x8c\x96\xC4\xB0\xE2\x84\xA1\xE2\x92\x9F\xE3\x8c\x80",
"xss\xe3\x82\xad\xe3\x83\xad\xe3\x83\xa1\xe3\x83\xbc\xe3\x83\x88"
"\xe3\x83\xab""i\xcc\x87""tel\x28""d\x29\xe3\x82\xa2\xe3\x83\x91"
"\xe3\x83\xbc\xe3\x83\x88"
},
}
...

----- Original Message -----
From: "Peter Gustav Olson - pgo" <pgo@psglaw.dk>
To: "vinton g. cerf" <vinton.g.cerf@wcom.com>; "Paul Hoffman / IMC"
<phoffman@imc.org>; <idn@ops.ietf.org>
Sent: Tuesday, March 25, 2003 05:37
Subject: RE: [idn] IDN eamples for testing




> -----Original Message-----
> From: vinton g. cerf [mailto:vinton.g.cerf@wcom.com]
> Sent: Tuesday, March 25, 2003 1:07 PM
> To: Peter Gustav Olson - pgo; Paul Hoffman / IMC; idn@ops.ietf.org
> Subject: RE: [idn] IDN eamples for testing
>
>
> Peter,
>
> thanks for pointing out the cybersquatter problem - I
> certainly agree that we don't want to adopt policies that
> will encourage or support cybersquatting!


For companies like Ben & Jerry's, Bang & Olufsen, Nestlé, L'Oreal, Kookaï,
etc. the IDN will be much more significant than the introduction of .biz and
.info. Let's make it significant in a positive sense, rather than a
significant new anti-cybersquatting expenditure.

Yours Sincerely,

Peter Gustav Olson

PLESNER SVANE GRØNBORG
Law firm

34, Esplanaden
DK-1263  Copenhagen K.

Tel: +45 33 12 11 33
Fax: +45 33 12 00 14
E-mail: pgo@psglaw.dk
Website: www.psglaw.dk


This e-mail and any attachment are confidential and may also be privileged.
If you are not the intended recipient, please notify us immediately and then
delete this e-mail and any attachment without retaining copies or disclosing
the contents thereof to any other person.  Thank you.