summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Worker
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-12-09 21:06:45 +0000
committersr55 <[email protected]>2018-12-09 21:15:55 +0000
commitf1cc52aae69360bb4d415391453434e12320b0b3 (patch)
treed9ba14012224d6016bbde2e3995b6e6d2c09cbe5 /win/CS/HandBrake.Worker
parent83d76fe48ac9605f9f34b403986d4457f5df5e5d (diff)
WinGui: FIx a small bug in the HTTP Service
Diffstat (limited to 'win/CS/HandBrake.Worker')
-rw-r--r--win/CS/HandBrake.Worker/HttpServer.cs2
1 files changed, 1 insertions, 1 deletions
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))
{