[Bug 1771109] Re: Domain names containing emoji characters are not supported in console applications

Simon Josefsson 1771109 at bugs.launchpad.net
Tue Jul 11 19:42:26 UTC 2023


Which libidn2 version were you using?

I believe this has been fixed in libidn2 by now, but curl should use
consider enabling Unicode TR46 from libidn2.

This is on a Ubuntu 22.04 clone (Trisquel):

jas at kaka:~$ idn2 πŸ“™.la
idn2: toAscii: string contains a disallowed character
jas at kaka:~$ idn2 -T πŸ“™.la
xn--yt8h.la
jas at kaka:~$ curl --verbose πŸ“™.la
*   Trying 62.116.130.8:80...
* Connected to πŸ“™.la (62.116.130.8) port 80 (#0)
> GET / HTTP/1.1
> Host: xn--yt8h.la
...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libidn2 in Ubuntu.
https://bugs.launchpad.net/bugs/1771109

Title:
  Domain names containing emoji characters are not supported in console
  applications

Status in glibc package in Ubuntu:
  New
Status in libidn2 package in Ubuntu:
  New
Status in libidn2-0 package in Ubuntu:
  New

Bug description:
  Ubuntu release:
  user at machine:~$ lsb_release -rd
  Description:	Ubuntu 18.04 LTS
  Release:	18.04

  Description:
  What I did: Attempted to access a domain name containing an emoji character using curl and other terminal applications
  What I expected to happen: Successfully interact with the server represented by said domain name
  What happened instead: Got error saying that the domain contains a disallowed character.
  Notes: Accessing such a domain using firefox works normally. Interacting with the domain using its punycode form works just fine. Accessing IDNs containing national characters (such as hxxp://Δ…Δ‡Δ™Ε‚Ε„Γ³Ε›ΕΊΕΌ.pl/) works as intended.

  Steps to reproduce:
  user at machine:~$ curl πŸ“™.la
  curl: (3) Failed to convert πŸ“™.la to ACE; string contains a disallowed character

  Disclosure: I own such a domain name, but it is not the domain
  provided in the example.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1771109/+subscriptions




More information about the foundations-bugs mailing list