Rule cannot have non-ascii characters as part of "urlFilter" key
Background
We have to convert ABP rules to DNR rules to make it working in MV3.
For this we convert the rules using text2dnr.js
.
Issue
When trying to deploy a webext for MV3 with the following rule:
{
"priority": 1000,
"condition": {
"urlFilter": "||züri6.ch/adsman/",
"isUrlFilterCaseSensitive": false,
"domainType": "thirdParty"
},
"action": {
"type": "block"
},
"id": 237662
}
i get the following error message:
Rule with id 237662 cannot have non-ascii characters as part of "urlFilter" key.
This is probably due to ü
character.
TODO
Use punycode for internationalized domains.
Edited by Anton Smirnov