mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-30 20:22:00 +00:00 
			
		
		
		
	Fallback on ucid for channel search when author contains hyphen
This commit is contained in:
		| @@ -2192,7 +2192,7 @@ get "/channel/:ucid" do |env| | ||||
|   end | ||||
|  | ||||
|   if !auto_generated | ||||
|     if author.includes? " " | ||||
|     if author.includes?(" ") || author.includes?("-") | ||||
|       env.set "search", "channel:#{ucid} " | ||||
|     else | ||||
|       env.set "search", "channel:#{author.downcase} " | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Omar Roth
					Omar Roth