mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 20:52:24 -05:00
* [feature] Support Actor URIs for webfinger queries It's now possible to pass an Actor URI as the resource to query for when doing a webfinger query. The code now extracts the username and domain from the URI. The URI needs to be fully qualified, including having a scheme of http or https to be recognised as such. The acct scheme is handled as we used to, including dealing with an erroneous leading @ on the username. We retain the ability to handle resources without a scheme by parsing them again with the acct scheme if the original parse failed. This can happen due to parsing ambiguities when dealing with a string like user@domain.tld:port. * [bugfix] Remove debugging changes * [chore] Make TestExtractNamestring table-driven * [chore] Unnest Trim and Split for readability |
||
|---|---|---|
| .. | ||
| activitypub | ||
| auth | ||
| client | ||
| fileserver | ||
| model | ||
| nodeinfo | ||
| util | ||
| wellknown | ||
| activitypub.go | ||
| auth.go | ||
| client.go | ||
| fileserver.go | ||
| nodeinfo.go | ||
| wellknown.go | ||