mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 04:32:02 +00:00 
			
		
		
		
	Search: Fix 'youtu.be' URLs in sanitizer (#4894)
Use the proper URL argument when transforming youtu.be URLs to their youtube.com equivalents. Thanks to Tuhgy on the fediverse for reporting this! No related issue
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Samantaz Fox
					Samantaz Fox