Page MenuHomePhabricator

[web][native] Download invite link blob and use it as an override
ClosedPublic

Authored by tomek on Dec 14 2023, 6:52 AM.
Tags
None
Referenced Files
F3522051: D10338.id37093.diff
Mon, Dec 23, 5:39 AM
F3522050: D10338.id36712.diff
Mon, Dec 23, 5:39 AM
F3522049: D10338.id36531.diff
Mon, Dec 23, 5:39 AM
F3522048: D10338.id34640.diff
Mon, Dec 23, 5:39 AM
F3522039: D10338.id.diff
Mon, Dec 23, 5:39 AM
F3522036: D10338.diff
Mon, Dec 23, 5:39 AM
Unknown Object (File)
Wed, Dec 4, 3:51 PM
Unknown Object (File)
Nov 18 2024, 4:00 AM
Subscribers

Details

Summary

Download a blob, parse it and use its content as a keyserver override.

Depends on D10311

Test Plan

Open a link on web for which a blob is downloaded and check if a blob is downloaded and its content is used correctly.

Diff Detail

Repository
rCOMM Comm
Branch
linki (branched from palys-swm/linki)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.Dec 14 2023, 7:45 AM
lib/shared/invite-links.js
32–34

The Content-Type header is redundant for the GET method because it doesn't have a request body.

39–40

Can we use KeyserverOverride in useVerifyInviteLink?

I'll leave this to the other reviewers as it seems like they have some more context/feedback here

tomek marked 2 inline comments as done.

Rebase and address comments

This revision is now accepted and ready to land.Feb 7 2024, 1:14 AM