iceshrimp-legacy/packages/backend/src/remote
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
..
activitypub fix: ensure resolver does not fetch local resources via HTTP(S) (#8733) 2022-06-04 11:29:20 +09:00
logger.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
resolve-user.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
webfinger.ts fix type 2022-04-03 16:35:36 +09:00