diff options
author | Takeshi Umeda <noel.yoshiba@gmail.com> | 2019-02-05 23:11:11 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-02-05 15:11:11 +0100 |
commit | 5bffb53a763531f6ed1d8e87bacede3ff0938086 (patch) | |
tree | f8dc94f2f4e64ff6ad106d52200da1c612ffe7bc | |
parent | 5c873a4ed7d4abb8c684e3a8ed3cdf9383e77be5 (diff) |
Fix it as tagged_request of accounts_controller is not addressable_uri (#9976)
-rw-r--r-- | app/controllers/accounts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index cbf1a8287..cad2ecf3f 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -116,7 +116,7 @@ class AccountsController < ApplicationController end def tag_requested? - request.path.ends_with?("/tagged/#{params[:tag]}") + request.path.ends_with?(Addressable::URI.parse("/tagged/#{params[:tag]}").normalize) end def filtered_status_page(params) |