diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-02-08 16:22:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-08 16:22:37 +0100 |
| commit | fba80cf6f9f465de79775bb5b8f12554814da550 (patch) | |
| tree | c007cae260f66e46b70b9e9a94d8fef4c768eec3 /Emby.Server.Implementations/Plugins/PluginManager.cs | |
| parent | 158e69c6f0efafd5157e39e7c2de80919090cec2 (diff) | |
| parent | 311b2f50122237d96fc93fc48c3658f4970de5a2 (diff) | |
Merge pull request #5188 from cvium/fix_manifest_bom
Exclude BOM when writing meta.json plugin manifest
Diffstat (limited to 'Emby.Server.Implementations/Plugins/PluginManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Plugins/PluginManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs index 8e5987026..2e2b3f332 100644 --- a/Emby.Server.Implementations/Plugins/PluginManager.cs +++ b/Emby.Server.Implementations/Plugins/PluginManager.cs @@ -348,7 +348,7 @@ namespace Emby.Server.Implementations.Plugins try { 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 |
