Skip to content

The Free Software Media System - Server Backend & API

fixes #1421 - LogRequest() in WebSocketSharpListener broken for Reports

Luke Pulverentiddf7fdbcef9c
diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs
index 8d8d7f6f75..0381167032 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -290,7 +290,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
var operationName = httpReq.OperationName;
var localPath = url.LocalPath;
- var urlString = url.ToString();
+ var urlString = url.OriginalString;
var enableLog = EnableLogging(urlString);
if (enableLog)