mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-30 02:32:56 +05:30
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