From: sr55 Date: Sun, 9 Dec 2018 21:06:45 +0000 (+0000) Subject: WinGui: FIx a small bug in the HTTP Service X-Git-Tag: 1.2.0~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1cc52aae69360bb4d415391453434e12320b0b3;p=handbrake WinGui: FIx a small bug in the HTTP Service --- diff --git a/win/CS/HandBrake.Worker/HttpServer.cs b/win/CS/HandBrake.Worker/HttpServer.cs index a920a85b3..095b51b43 100644 --- a/win/CS/HandBrake.Worker/HttpServer.cs +++ b/win/CS/HandBrake.Worker/HttpServer.cs @@ -64,7 +64,7 @@ namespace HandBrake.Worker try { - string path = context.Request.RawUrl.TrimStart('/'); + string path = context.Request.RawUrl.TrimStart('/').TrimEnd('/'); if (this.apiHandlers.TryGetValue(path, out var actionToPerform)) {