Add key delimiter to avoid potential clashes

This commit is contained in:
Claus Vium 2019-02-12 21:30:52 +01:00
parent 828434058f
commit 5e2e190f3e

View File

@ -242,7 +242,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
var objType = obj.GetType(); var objType = obj.GetType();
if (objType.IsPrimitive || objType == typeof(string)) if (objType.IsPrimitive || objType == typeof(string))
{ {
key += obj.ToString(); key += obj + ";";
} }
else else
{ {
@ -254,7 +254,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
continue; continue;
} }
key += propertyInfo.Name + currentValue; key += propertyInfo.Name + currentValue + ";";
} }
} }
} }