iceshrimp-legacy/packages/backend/src
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
..
@types use http-signature module that supports hs2019 (#8635) 2022-05-26 09:12:17 +09:00
boot enhance: Perform port diagnosis at startup only when Listen fails (#8698) 2022-05-19 11:49:07 +09:00
config preload app css (#8752) 2022-05-29 10:57:06 +09:00
daemons refactor: fix type 2022-04-17 14:42:13 +09:00
db fix(test): reset redis in e2e test 2022-06-03 23:08:15 +09:00
mfm fix(mfm): remove duplicate br tag/newline (#8616) 2022-05-31 18:57:55 +09:00
misc Fix IP address rate limit (#8758) 2022-05-31 17:44:22 +09:00
models refactor: improve code quality (#8751) 2022-05-29 15:15:52 +09:00
prelude refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
queue fix: always remove completed tasks (#8771) 2022-05-31 17:54:02 +09:00
remote fix: ensure resolver does not fetch local resources via HTTP(S) (#8733) 2022-06-04 11:29:20 +09:00
server User moderation details (#8762) 2022-06-03 23:14:50 +09:00
services fix: always remove completed tasks (#8771) 2022-05-31 17:54:02 +09:00
const.ts remove max note text length setting 2022-02-20 16:07:43 +09:00
env.ts refactoring 2021-11-12 02:02:25 +09:00
global.d.ts refactoring 2021-11-12 02:02:25 +09:00
index.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
types.ts feat: アンケート終了通知 2022-03-06 16:06:27 +09:00