aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Api/DlnaServerService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Dlna/Api/DlnaServerService.cs')
-rw-r--r--Emby.Dlna/Api/DlnaServerService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Emby.Dlna/Api/DlnaServerService.cs b/Emby.Dlna/Api/DlnaServerService.cs
index 01c9fe50f..68bf80163 100644
--- a/Emby.Dlna/Api/DlnaServerService.cs
+++ b/Emby.Dlna/Api/DlnaServerService.cs
@@ -236,7 +236,9 @@ namespace Emby.Dlna.Api
public object Get(GetIcon request)
{
- var contentType = "image/" + Path.GetExtension(request.Filename).TrimStart('.').ToLower();
+ var contentType = "image/" + Path.GetExtension(request.Filename)
+ .TrimStart('.')
+ .ToLowerInvariant();
var cacheLength = TimeSpan.FromDays(365);
var cacheKey = Request.RawUrl.GetMD5();