diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2019-01-31 21:11:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-31 21:11:13 -0500 |
| commit | c713824bf960b1c0d33dde051da6115f329cbca8 (patch) | |
| tree | 048d7dfbd47da525cbc5fd7551ea3e27fa643e5e /Emby.Server.Implementations/HttpServer/HttpResultFactory.cs | |
| parent | ea851317e76bca0ae4c02547bf7ae017a5a45282 (diff) | |
| parent | 1ea219bf3f5c0708c3afa5fa2d897ca5212b5e04 (diff) | |
Merge pull request #734 from Bond-009/culture
Fix more analyzer warnings
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpResultFactory.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/HttpResultFactory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs b/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs index 0ad4d8406..7445fd3c2 100644 --- a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs +++ b/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs @@ -394,7 +394,7 @@ namespace Emby.Server.Implementations.HttpServer { return contentType == null ? null - : contentType.Split(';')[0].ToLower().Trim(); + : contentType.Split(';')[0].ToLowerInvariant().Trim(); } private static string SerializeToXmlString(object from) |
