Skip to content
Snippets Groups Projects

fix XRD+XML serialisation of `Alias`

Merged dakkar requested to merge feature/fix-webfinger into develop

What does this PR do?

Fix a small mistake from Add aliases to webfinger request. (!778 - merged) (cc @piuvas)

Tested:

$ curl -H 'Accept: application/xrd+xml' http://localhost:3000/.well-known/webfinger?resource=acct:one@localhost:3000|xmllint -format -

<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
  <Subject>acct:one@localhost:3000</Subject>
  <Link rel="self" type="application/activity+json" href="http://localhost:3000/users/9uf94m486g6j0001"/>
  <Link rel="http://webfinger.net/rel/profile-page" type="text/html" href="http://localhost:3000/@one"/>
  <Link rel="http://ostatus.org/schema/1.0/subscribe" template="http://localhost:3000/authorize-follow?acct={uri}"/>
  <Alias>http://localhost:3000/@one</Alias>
</XRD>

Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading