IDN now correctly deals with empty domain name
This commit is contained in:
parent
2d96231e35
commit
fe81384ac0
2 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,7 @@ namespace WebsitePanel.Server
|
|||
|
||||
private string GetAsciiZoneName(string zoneName)
|
||||
{
|
||||
if (string.IsNullOrEmpty(zoneName)) return zoneName;
|
||||
var idn = new IdnMapping();
|
||||
return idn.GetAscii(zoneName);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue