aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaus Vium <clausvium@gmail.com>2019-02-12 21:30:52 +0100
committerClaus Vium <clausvium@gmail.com>2019-02-15 19:33:10 +0100
commit5e2e190f3ed3ff108f906204ff9867235f37ef8e (patch)
tree99cfb997a76619ee3cd4f08c5449ddda970e509e
parent828434058f47507216a11d296b9df4378ec0bd6b (diff)
Add key delimiter to avoid potential clashes
-rw-r--r--MediaBrowser.Providers/TV/TheTVDB/TvDbClientManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Providers/TV/TheTVDB/TvDbClientManager.cs b/MediaBrowser.Providers/TV/TheTVDB/TvDbClientManager.cs
index a3979bf42..66f692bd0 100644
--- a/MediaBrowser.Providers/TV/TheTVDB/TvDbClientManager.cs
+++ b/MediaBrowser.Providers/TV/TheTVDB/TvDbClientManager.cs
@@ -242,7 +242,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
var objType = obj.GetType();
if (objType.IsPrimitive || objType == typeof(string))
{
- key += obj.ToString();
+ key += obj + ";";
}
else
{
@@ -254,7 +254,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
continue;
}
- key += propertyInfo.Name + currentValue;
+ key += propertyInfo.Name + currentValue + ";";
}
}
}