The Free Software Media System - Server Backend & API
Exclude BOM when writing meta.json plugin manifest
cvium311b2f501222
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.csindex 8e5987026b..2e2b3f332f 100644--- a/Emby.Server.Implementations/Plugins/PluginManager.cs+++ b/Emby.Server.Implementations/Plugins/PluginManager.cs@@ -348,7 +348,7 @@ namespace Emby.Server.Implementations.Pluginstry{var data = JsonSerializer.Serialize(manifest, _jsonOptions);- File.WriteAllText(Path.Combine(path, "meta.json"), data, Encoding.UTF8);+ File.WriteAllText(Path.Combine(path, "meta.json"), data);return true;}#pragma warning disable CA1031 // Do not catch general exception types