diff options
| author | Claus Vium <clausvium@gmail.com> | 2019-01-22 22:40:06 +0100 |
|---|---|---|
| committer | Claus Vium <clausvium@gmail.com> | 2019-01-22 22:40:06 +0100 |
| commit | df5e87409ae08199333da549be118653bc0c2221 (patch) | |
| tree | d4023b6e1cd06ac0fd5cc6ede49f8ac739e7d065 | |
| parent | 94789860b1217a500e50d74ba5dbec26bb61a8d7 (diff) | |
Fix trim input
| -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 370c76ec9..0ad4d8406 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.Trim("\"")) : Guid.Empty; + var cacheKey = etag != null ? new Guid(etag.Trim('\"')) : Guid.Empty; if (!cacheKey.Equals(Guid.Empty)) { var key = cacheKey.ToString("N"); |
