Fix redirects from /web/ discarding everything after a dot (#20148)
Fixes #20145
This commit is contained in:
		@@ -683,7 +683,7 @@ Rails.application.routes.draw do
 | 
				
			|||||||
    get path, to: 'home#index'
 | 
					    get path, to: 'home#index'
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web, defaults: { any: '' }
 | 
					  get '/web/(*any)', to: redirect('/%{any}', status: 302), as: :web, defaults: { any: '' }, format: false
 | 
				
			||||||
  get '/about',      to: 'about#show'
 | 
					  get '/about',      to: 'about#show'
 | 
				
			||||||
  get '/about/more', to: redirect('/about')
 | 
					  get '/about/more', to: redirect('/about')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user