urltools icon indicating copy to clipboard operation
urltools copied to clipboard

punycode_decode not stateless

Open vandepitte opened this issue 5 years ago • 0 comments

Version: 1.7.3

> urltools::puny_decode(c('xn--1qqw23a', 'xn--1ck2e1b', 'xn--1qqw23a'))
[1] "佛山"   "セール" "佛山ル"

First and third element in vector are the same, but are differently decoded because of second element in the vector. Note: both a-labels are valid (they are delegated TLDs by ICANN)

vandepitte avatar Mar 17 '21 18:03 vandepitte