From 5e899d73a9ae86275c01b038c374f68787f03ea6 Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Mon, 2 Sep 2024 18:14:57 +0200 Subject: [PATCH] Search: Fix for youtu.be URL in sanitizer --- src/invidious/yt_backend/url_sanitizer.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/yt_backend/url_sanitizer.cr b/src/invidious/yt_backend/url_sanitizer.cr index 725382ee..d539dadb 100644 --- a/src/invidious/yt_backend/url_sanitizer.cr +++ b/src/invidious/yt_backend/url_sanitizer.cr @@ -111,7 +111,7 @@ module UrlSanitizer new_uri.path = "/watch" new_params = copy_params(unsafe_uri.query_params, :watch) - new_params["id"] = breadcrumbs[0] + new_params["v"] = breadcrumbs[0] new_uri.query_params = new_params end