From f9b363fce848646c00d9daab6577155f1c7ffdf1 Mon Sep 17 00:00:00 2001 From: ElementalAlchemist Date: Fri, 22 Nov 2024 20:26:56 -0600 Subject: [PATCH] Prevent double-encoding request --- thrimbletrimmer/src/restreamer/Restreamer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thrimbletrimmer/src/restreamer/Restreamer.tsx b/thrimbletrimmer/src/restreamer/Restreamer.tsx index 6fe3a4a..3146f47 100644 --- a/thrimbletrimmer/src/restreamer/Restreamer.tsx +++ b/thrimbletrimmer/src/restreamer/Restreamer.tsx @@ -146,7 +146,7 @@ const RestreamerWithDefaults: Component = (props) => { const downloadVideoURL = () => { const streamInfo = streamVideoInfo(); const startTime = wubloaderTimeFromDateTime(streamInfo.streamStartTime); - const params = new URLSearchParams({ type: "smart", start: encodeURIComponent(startTime) }); + const params = new URLSearchParams({ type: "smart", start: startTime }); if (streamInfo.streamEndTime) { const endTime = wubloaderTimeFromDateTime(streamInfo.streamEndTime); params.append("end", endTime);