Render mixed idn like invalid TLS

Bug #813769 reported by Cris Dywan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
Confirmed
Low
Unassigned

Bug Description

Albeit IDN is still not too common, I'd like to see a minimum of verification of URLs. Registrars are supposed to be doing this but evidently either don't care or get it wrong.

The following spoofed example domains should be regarded as invalid:

сitibank.com, googIe.com, pаypal.com, ցհոօզս, аpple.com

I sneaked a non-IDN case in there because the problem and proposed solution is very similar.

Valid domains for comparison:

johannkönig.com, 例え.テスト, ᚦ.com, しん.jp, مثال.آزمایشی

So spoofing usually is a mix of scripts. Since some languages genuinely use multiple scripts (e.g. Japanese) we should only consider Latin, Cyrillic and Greek, being most full of homographs.

- Any mix of latin, cyrillic and greek is invalid.
- URLs must be all-lowercase. "A.com" is valid but must be shown as "a.com".

We should do either of the following if a URL is invalid:
- Render as punycode
- Render as red like invalid TLS
- Show an infobar

Tags: urlbar idn tls
Cris Dywan (kalikiana)
tags: added: idn tls urlbar
Cody Garver (codygarver)
Changed in midori:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.