url_for actually has only_path => true
if it is from ActionView::Helpers::UrlHelper. So redirect_to(url_for(params)) is considered safe
Showing
想要评论请 注册 或 登录
if it is from ActionView::Helpers::UrlHelper. So redirect_to(url_for(params)) is considered safe