mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 17:51:16 +08:00
Allow all /my URLs
Previously, URLs like /my/activity/posts were denied. This change allows those URLs.
This commit is contained in:
@ -1330,6 +1330,11 @@ describe UsersController do
|
||||
get :my_redirect, path: "preferences"
|
||||
response.should be_redirect
|
||||
end
|
||||
|
||||
it "permits forward slashes" do
|
||||
get :my_redirect, path: "activity/posts"
|
||||
response.should be_redirect
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user