rudeshark.net/packages/backend/src/remote/activitypub
Johann150 9954c054a7
fix: ensure resolver does not fetch local resources via HTTP(S) (#8733)
* refactor: parseUri types and checks

The type has been refined to better represent what it actually is. Uses of
parseUri are now also checking the parsed object type before resolving.

* cannot resolve URLs with fragments

* also take remaining part of URL into account

Needed for parsing the follows URIs.

* Resolver uses DbResolver for local

* remove unnecessary use of DbResolver

Using DbResolver would mean that the URL is parsed and handled again.
This duplicated processing can be avoided by querying the database directly.

* fix missing property name
2022-06-04 11:29:20 +09:00
..
kernel fix: wrong type for isVisibleForMe 2022-05-24 10:12:42 +02:00
misc fix: correctly render empty note text (#8746) 2022-06-03 23:18:44 +09:00
models chore: remove unused imports 2022-05-28 21:17:23 +02:00
renderer fix: correctly render empty note text (#8746) 2022-06-03 23:18:44 +09:00
ap-request.ts chore: fix lint 2022-04-03 15:33:22 +09:00
audience.ts perf(server): refactor and performance improvements 2022-03-25 16:27:41 +09:00
db-resolver.ts fix: ensure resolver does not fetch local resources via HTTP(S) (#8733) 2022-06-04 11:29:20 +09:00
deliver-manager.ts fix type 2022-04-03 16:40:47 +09:00
logger.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
perform.ts perf(server): refactor and performance improvements 2022-03-25 16:27:41 +09:00
request.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
resolver.ts fix: ensure resolver does not fetch local resources via HTTP(S) (#8733) 2022-06-04 11:29:20 +09:00
type.ts refactor: fix type 2022-04-17 13:26:31 +09:00