Search: Fix for youtu.be URL in sanitizer

This commit is contained in:
Samantaz Fox 2024-09-02 18:14:57 +02:00
parent 4782a67038
commit 5e899d73a9
No known key found for this signature in database
GPG key ID: F42821059186176E

View file

@ -111,7 +111,7 @@ module UrlSanitizer
new_uri.path = "/watch" new_uri.path = "/watch"
new_params = copy_params(unsafe_uri.query_params, :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 new_uri.query_params = new_params
end end