Skip to content

Commit 4ca9f76

Browse files
noellaboGargron
authored andcommitted
Fix it as tagged_request of accounts_controller is not addressable_uri (mastodon#9976)
1 parent 2357718 commit 4ca9f76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/accounts_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def replies_requested?
116116
end
117117

118118
def tag_requested?
119-
request.path.ends_with?("/tagged/#{params[:tag]}")
119+
request.path.ends_with?(Addressable::URI.parse("/tagged/#{params[:tag]}").normalize)
120120
end
121121

122122
def filtered_status_page(params)

0 commit comments

Comments
 (0)