mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix it as tagged_request of accounts_controller is not addressable_uri (#9976)
This commit is contained in:
parent
5c873a4ed7
commit
5bffb53a76
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user