Updated TagManage normalize_link function
• Updated: - TagManage normalize_link function
This commit is contained in:
parent
c18991f174
commit
000363d143
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user