* bug#25600: 26.0.50; shr doesn't heed the IDNA non-obfuscation rules
@ 2017-02-01 15:03 Lars Ingebrigtsen
2018-04-13 15:11 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Lars Ingebrigtsen @ 2017-02-01 15:03 UTC (permalink / raw)
To: 25600
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
If you view the following HTML, shr will (on mouseover etc) display the
domain as something that looks like "www.microsoft.com", when it's
really an IDNA domain with a cyrillic letter in the middle.
I thought eww/shr had fixed this everywhere, but apparently it's just in
the eww header line. shr should also apply the same rules (for mixing
latin and non-latin characters) and display the link as
"www.xn--mirsft-yqfbx.com" or something. Perhaps with a warning, even.
[-- Attachment #2: idna.html --]
[-- Type: text/html, Size: 703 bytes --]
[-- Attachment #3: Type: text/plain, Size: 400 bytes --]
In GNU Emacs 26.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5)
of 2017-01-30 built on stories
Repository revision: ab96c8509736a7ed622916ad2749ff356e520d02
Windowing system distributor 'The X.Org Foundation', version 11.0.11604000
System Description: Debian GNU/Linux 8.6 (jessie)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#25600: 26.0.50; shr doesn't heed the IDNA non-obfuscation rules
2017-02-01 15:03 bug#25600: 26.0.50; shr doesn't heed the IDNA non-obfuscation rules Lars Ingebrigtsen
@ 2018-04-13 15:11 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-13 15:11 UTC (permalink / raw)
To: 25600
Lars Ingebrigtsen <larsi@gnus.org> writes:
> It doesn't 'disable' as such, but renders the 'punycode' in full, so a fake
> 'http://www.miсrоsоft.com' is rendered as instead
> 'http://www.xn--mirsft-yqfbx.com'.
I've now implemented this.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-13 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-01 15:03 bug#25600: 26.0.50; shr doesn't heed the IDNA non-obfuscation rules Lars Ingebrigtsen
2018-04-13 15:11 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).