Logo
Explore Help
Register Sign In
MetuFSS
/
metu.life
2
1
Fork
You've already forked metu.life
0
Code Issues Pull Requests Releases Wiki Activity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14400 Commits
1 Branch
0 Tags
148 MiB
Tag: Branch: Tree: master
master
Branches Tags
${ item.name }
Create tag ${ searchTerm }
Create branch ${ searchTerm }
from 'master'
${ noResults }
metu.life/app/helpers/webfinger_helper.rb

8 lines
117 B
Raw Permalink Normal View History Unescape Escape

Refactor monkey-patching of Goldfinger (#12561)
3 years ago
# frozen_string_literal: true
module WebfingerHelper
def webfinger!(uri)
Remove dependency on goldfinger gem (#14919) There are edge cases where requests to certain hosts timeout when using the vanilla HTTP.rb gem, which the goldfinger gem uses. Now that we no longer need to support OStatus servers, webfinger logic is so simple that there is no point encapsulating it in a gem, so we can just use our own Request class. With that, we benefit from more robust timeout code and IPv4/IPv6 resolution. Fix #14091
3 years ago
Webfinger.new(uri).perform
Refactor monkey-patching of Goldfinger (#12561)
3 years ago
end
end
Powered by Gitea Version: 1.17.3 Page: 133ms Template : 3ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website