mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix rendering of punycoded hostname in popup panel
Regression from:
- 75deadd31e
This commit is contained in:
parent
0c66680a2c
commit
cd237ed3e1
1 changed files with 1 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ const buildAllFirewallRows = function() {
|
|||
|
||||
const hnDetails = hostnameDict[des] || {};
|
||||
const isDomain = des === hnDetails.domain;
|
||||
const prettyDomainName = des.startsWith('xn--')
|
||||
const prettyDomainName = des.includes('xn--')
|
||||
? punycode.toUnicode(des)
|
||||
: des;
|
||||
const isPunycoded = prettyDomainName !== des;
|
||||
|
|
|
|||
Loading…
Reference in a new issue