RAILS 6 Prevent many slashes in URL

前端 未结 0 720
傲寒
傲寒 2020-11-27 21:11

How can I prevent Rails 6 to proceed a GET URL that contain many "/" ?

Example :

route.rb
get "test/testB", to: "test/testB#sh         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题