mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-11-04 06:31:57 +00:00 
			
		
		
		
	Add fix for videoplayback requests with trailing slash
This commit is contained in:
		@@ -997,6 +997,7 @@ get "/videoplayback*" do |env|
 | 
			
		||||
  path = env.request.path
 | 
			
		||||
  if path != "/videoplayback"
 | 
			
		||||
    path = path.lchop("/videoplayback/")
 | 
			
		||||
    path = path.rchop("/")
 | 
			
		||||
    path = path.split("/")
 | 
			
		||||
 | 
			
		||||
    raw_params = {} of String => Array(String)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user