unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#47359: IceCat shows ACE/Punycode instead of IDN
@ 2021-03-24 11:46 Ludovic Courtès
  2021-04-04 20:49 ` Mark H Weaver
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2021-03-24 11:46 UTC (permalink / raw)
  To: 47359

IceCat shows ASCII-compatible encoding (ACE, roughly Punycode) for
so-called internationalized domain names (IDNs) instead of displaying
them properly—e.g., <https://xn--drivation-b4a.fr/> instead of
<https://dérivation.fr/>.

I believe it purposefully has a white list of the kind of IDNs it
accepts to display properly (to avoid phishing).  In ‘about:config’
there’s a set of ‘network.IDN.whitelist’ Booleans, which suggest the
example above should work, but for some reason it doesn’t.

Ideas?

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#47359: IceCat shows ACE/Punycode instead of IDN
  2021-03-24 11:46 bug#47359: IceCat shows ACE/Punycode instead of IDN Ludovic Courtès
@ 2021-04-04 20:49 ` Mark H Weaver
  2021-04-05 19:57   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2021-04-04 20:49 UTC (permalink / raw)
  To: Ludovic Courtès, 47359

Hi Ludovic,

Ludovic Courtès <ludo@gnu.org> writes:

> IceCat shows ASCII-compatible encoding (ACE, roughly Punycode) for
> so-called internationalized domain names (IDNs) instead of displaying
> them properly—e.g., <https://xn--drivation-b4a.fr/> instead of
> <https://dérivation.fr/>.

I see the same behavior, which does not happen on 'firefox-esr' on
Debian.

> I believe it purposefully has a white list of the kind of IDNs it
> accepts to display properly (to avoid phishing).  In ‘about:config’
> there’s a set of ‘network.IDN.whitelist’ Booleans, which suggest the
> example above should work, but for some reason it doesn’t.
>
> Ideas?

My first guess is that it has something to do with the fact that support
for language packs is currently broken.  Perhaps some data from the
language pack is needed to make decisions about which IDNs to display.

The problem with language packs is that they must now be digitally
signed by Mozilla, and obviously we cannot do that.  I guess we need to
find the code that performs those signature checks, and disable it for
language packs found in trusted system directories.

     Regards,
       Mark




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#47359: IceCat shows ACE/Punycode instead of IDN
  2021-04-04 20:49 ` Mark H Weaver
@ 2021-04-05 19:57   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2021-04-05 19:57 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 47359

Hi Mark,

Mark H Weaver <mhw@netris.org> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> IceCat shows ASCII-compatible encoding (ACE, roughly Punycode) for
>> so-called internationalized domain names (IDNs) instead of displaying
>> them properly—e.g., <https://xn--drivation-b4a.fr/> instead of
>> <https://dérivation.fr/>.
>
> I see the same behavior, which does not happen on 'firefox-esr' on
> Debian.

Epiphany displays the accented letter, too.

>> I believe it purposefully has a white list of the kind of IDNs it
>> accepts to display properly (to avoid phishing).  In ‘about:config’
>> there’s a set of ‘network.IDN.whitelist’ Booleans, which suggest the
>> example above should work, but for some reason it doesn’t.
>>
>> Ideas?
>
> My first guess is that it has something to do with the fact that support
> for language packs is currently broken.  Perhaps some data from the
> language pack is needed to make decisions about which IDNs to display.
>
> The problem with language packs is that they must now be digitally
> signed by Mozilla, and obviously we cannot do that.  I guess we need to
> find the code that performs those signature checks, and disable it for
> language packs found in trusted system directories.

Oh, I see.  Would be nice if we could achieve that.

Thanks for checking!

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-05 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24 11:46 bug#47359: IceCat shows ACE/Punycode instead of IDN Ludovic Courtès
2021-04-04 20:49 ` Mark H Weaver
2021-04-05 19:57   ` Ludovic Courtès

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git