Merge
This commit is contained in:
commit
9ad5109cbb
2 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,7 @@ namespace WebsitePanel.EnterpriseServer
|
||||||
{
|
{
|
||||||
private static string GetAsciiZoneName(string zoneName)
|
private static string GetAsciiZoneName(string zoneName)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrEmpty(zoneName)) return zoneName;
|
||||||
var idn = new IdnMapping();
|
var idn = new IdnMapping();
|
||||||
return idn.GetAscii(zoneName);
|
return idn.GetAscii(zoneName);
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,6 +54,7 @@ namespace WebsitePanel.Server
|
||||||
|
|
||||||
private string GetAsciiZoneName(string zoneName)
|
private string GetAsciiZoneName(string zoneName)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrEmpty(zoneName)) return zoneName;
|
||||||
var idn = new IdnMapping();
|
var idn = new IdnMapping();
|
||||||
return idn.GetAscii(zoneName);
|
return idn.GetAscii(zoneName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue