Bug #7255
closedFirewall alias FQDN field rejects IDNs (Internationalized domain names)
100%
Description
When creating a firewall alias and entering "www.bücher.ch" as the FQDN, pfsense gives an error stating:
"www.bücher.ch is not a valid host address, FQDN or alias."
This message is incorrect. www.bücher.ch is a valid FQDN.
Happily, entering the punycode representation (www.xn--bcher-kva.ch) results in everything working fine (alias can be created, rules using the alias work, ex: I can block that site).
I suggest that pfsense should accept Unicode characters in the FQDN textfield and internally convert them to punycode to pass down to pf or whatever other lower layers need it.
Updated by Jim Pingle over 5 years ago
- Category changed from Web Interface to Rules / NAT
Updated by Jim Pingle over 5 years ago
- Category changed from Rules / NAT to Aliases / Tables
Updated by Viktor Gurov over 4 years ago
You can use URL/URL Table alias for IDN hostnames:
https://redmine.pfsense.org/issues/10321
Updated by Viktor Gurov over 4 years ago
Updated by Jim Pingle over 4 years ago
- Status changed from New to Pull Request Review
- Target version set to 2.5.0
Updated by Renato Botelho over 4 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Renato Botelho
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Viktor Gurov over 4 years ago
- Status changed from Feedback to Resolved
editing, resolving, import/export - all works as expected
pfSense 2.5.0.a.20200518.1031