mirror of
https://github.com/discourse/discourse.git
synced 2025-09-10 21:01:33 +08:00
Allow all /my URLs
Previously, URLs like /my/activity/posts were denied. This change allows those URLs.
This commit is contained in:
parent
6f8888d405
commit
6e698315d6
3 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue