diff options
| author | Claus Vium <clausvium@gmail.com> | 2019-01-22 22:37:26 +0100 |
|---|---|---|
| committer | Claus Vium <clausvium@gmail.com> | 2019-01-22 22:37:26 +0100 |
| commit | 94789860b1217a500e50d74ba5dbec26bb61a8d7 (patch) | |
| tree | e5d138e1d123a8b6de8ac1f30cd7462b34bcbd6c | |
| parent | fd6d35e1d0a3ceae6080fbf1fe08fb68f01a4395 (diff) | |
Trim quotes from If-None-Match
| -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 dee417b43..370c76ec9 100644 --- a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs +++ b/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs @@ -535,7 +535,7 @@ namespace Emby.Server.Implementations.HttpServer var contentType = options.ContentType; var etag = requestContext.Headers.Get("If-None-Match"); - var cacheKey = etag != null ? new Guid(etag) : Guid.Empty; + var cacheKey = etag != null ? new Guid(etag.Trim("\"")) : Guid.Empty; if (!cacheKey.Equals(Guid.Empty)) { var key = cacheKey.ToString("N"); |
