diff --git a/source/utils/session.bs b/source/utils/session.bs index 79d7e1a6..3e8ce4f0 100644 --- a/source/utils/session.bs +++ b/source/utils/session.bs @@ -126,7 +126,7 @@ namespace session tmpSessionUser[key] = value ' keep friendlyName in sync - if key = "name" + if LCase(key) = "name" regex = CreateObject("roRegex", "[^a-zA-Z0-9\ \-\_]", "") tmpSessionUser["friendlyName"] = regex.ReplaceAll(value, "") end if