diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-05-08 21:00:49 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-05-08 21:00:49 +0200 |
commit | 22080786df76ec49387984cf7233c51b97f1812d (patch) | |
tree | b50a1dfa1faa2fb874bf88674522d5ce7d5a7d54 /app/services | |
parent | d7eae4229c3a0b5dd783888953004cfd9777cffd (diff) | |
parent | f17e73da09e6c63665aee4e9731df7808094960e (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/verify_link_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/verify_link_service.rb b/app/services/verify_link_service.rb index 878a2188d..0a39d7f26 100644 --- a/app/services/verify_link_service.rb +++ b/app/services/verify_link_service.rb @@ -28,7 +28,7 @@ class VerifyLinkService < BaseService links = Nokogiri::HTML(@body).xpath('//a[contains(concat(" ", normalize-space(@rel), " "), " me ")]|//link[contains(concat(" ", normalize-space(@rel), " "), " me ")]') - if links.any? { |link| link['href'] == @link_back } + if links.any? { |link| link['href'].downcase == @link_back.downcase } true elsif links.empty? false |