change REQUEST_URI to PATH_INFO
request.env['REQUEST_URI'] returns full URI of the resource request.env['PATH_INFO'] returns only path of the resource
Showing
想要评论请 注册 或 登录
request.env['REQUEST_URI'] returns full URI of the resource request.env['PATH_INFO'] returns only path of the resource