mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-07-01 03:18:24 +00:00
Search: Fix for youtu.be URL in sanitizer
This commit is contained in:
parent
4782a67038
commit
5e899d73a9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user