Parcourir la source

Update MimeTypes.cs

artiume il y a 5 ans
Parent
commit
25651362bf
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      MediaBrowser.Model/Net/MimeTypes.cs

+ 0 - 2
MediaBrowser.Model/Net/MimeTypes.cs

@@ -176,7 +176,6 @@ namespace MediaBrowser.Model.Net
             }
             }
 
 
             var ext = Path.GetExtension(path);
             var ext = Path.GetExtension(path);
-            var beg = Path.GetFullPath(path);
 
 
             if (_mimeTypeLookup.TryGetValue(ext, out string result))
             if (_mimeTypeLookup.TryGetValue(ext, out string result))
             {
             {
@@ -204,7 +203,6 @@ namespace MediaBrowser.Model.Net
 
 
             // Misc
             // Misc
             if (string.Equals(ext, ".dll", StringComparison.OrdinalIgnoreCase))
             if (string.Equals(ext, ".dll", StringComparison.OrdinalIgnoreCase))
-                || string.Equals(beg, "._*", StringComparison.OrdinalIgnoreCase))
             {
             {
                 return "application/octet-stream";
                 return "application/octet-stream";
             }
             }