This commit is contained in:
2020-05-16 16:35:16 +00:00
parent b25f748705
commit 39c2bbe4d3
2 changed files with 2 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ todo: REMOVE TAGS
route: bulk-remove-all tag by type and all objects no id specified route: bulk-remove-all tag by type and all objects no id specified
parameters=Type, tag parameters=Type, tag
todo: auth controller authenticate wont allow if old jwt sent with request, should ignore on auth
todo: API root controller todo: API root controller
build mode and server info should be authorized shoudln't they? Unauthorized people have no need to see that stuff build mode and server info should be authorized shoudln't they? Unauthorized people have no need to see that stuff
todo: api / server landing page is shitty on a mobile todo: api / server landing page is shitty on a mobile

View File

@@ -27,6 +27,7 @@ namespace AyaNova.Biz
public static string NormalizeTag(string inObj) public static string NormalizeTag(string inObj)
{ {
if(string.IsNullOrWhiteSpace(inObj)) return null;
//Must be lowercase per rules //Must be lowercase per rules
//This may be naive when we get international cust omers but for now supporting utf-8 and it appears it's safe to do this with unicode //This may be naive when we get international cust omers but for now supporting utf-8 and it appears it's safe to do this with unicode
inObj = inObj.ToLowerInvariant(); inObj = inObj.ToLowerInvariant();