misskey/packages
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
..
backend fix: ensure resolver does not fetch local resources via HTTP(S) (#8733) 2022-06-04 11:29:20 +09:00
client User moderation details (#8762) 2022-06-03 23:14:50 +09:00
shared chore: add import/order rule for eslint 2022-04-15 15:05:43 +09:00
sw chore: remove packages/sw/webpack.config.js 2022-05-30 05:53:36 +00:00
meta.json refactoring 2021-11-12 02:02:25 +09:00