fix #1617 convert line break to comma when saving aliases, improve license acceptance user experience

This commit is contained in:
Shaun Walker
2021-08-27 08:17:48 -04:00
parent 39ccc30680
commit bb75242a4f
4 changed files with 22 additions and 9 deletions

View File

@ -391,6 +391,7 @@
var unique = true;
if (UserSecurity.IsAuthorized(PageState.User, RoleNames.Host))
{
_urls = _urls.Replace("\n", ",");
foreach (string name in _urls.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries))
{
if (_aliasList.Exists(item => item.Name == name && item.SiteId != PageState.Alias.SiteId && item.TenantId != PageState.Alias.TenantId))