Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/removing_ruby_junk

This commit is contained in:
mgabdev 2020-12-09 11:10:10 -05:00
commit f9c1246fac

View File

@ -25,7 +25,7 @@ class TagManager
def normalize_link(link)
return if link.nil?
uri = Addressable::URI.parse(link)
return "#{uri.normalized_host}#{uri.normalized_path}"
return "#{uri.normalized_host}#{uri.normalized_path}".strip
end
def same_acct?(canonical, needle)