diff options
| author | Johann150 <johann.galle@protonmail.com> | 2022-06-04 04:29:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-04 11:29:20 +0900 |
| commit | 9954c054a7e9fa8148345c7ff3d0bfaaee05fcb1 (patch) | |
| tree | d894a5aab12633c5453bf7a5ac9a07a9f7a32d32 /packages/backend/src/services/blocking/create.ts | |
| parent | fix: correctly render empty note text (#8746) (diff) | |
| download | misskey-9954c054a7e9fa8148345c7ff3d0bfaaee05fcb1.tar.gz misskey-9954c054a7e9fa8148345c7ff3d0bfaaee05fcb1.tar.bz2 misskey-9954c054a7e9fa8148345c7ff3d0bfaaee05fcb1.zip | |
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
Diffstat (limited to 'packages/backend/src/services/blocking/create.ts')
0 files changed, 0 insertions, 0 deletions