url() renerate illegal chars
VatslauX opened this issue · 2 comments
VatslauX commented
public static String randomUrl(Boolean isHttps) {
NetworkProducer net = Fairy.create().networkProducer();
return net.url(isHttps);
}
Result
https://������������.com
tehbilly commented
Those unicode characters aren't illegal in a domain name, are they? Firefox at least (what I'm using, haven't tested others) translates that properly to https://xn--zn7caaaaaaaaaaa.com/ for me.
Some reference info: https://en.wikipedia.org/wiki/Internationalized_domain_name
VatslauX commented