mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-26 03:20:54 +09:00
fix(backend): HttpRequestService.tsの変更漏れを修正 (fetch時にデコード済みのurlを参照するように)
This commit is contained in:
parent
545b1c043f
commit
3a2922db6f
@ -292,7 +292,7 @@ export class HttpRequestService {
|
|||||||
|
|
||||||
const isLocalAddressAllowed = args.isLocalAddressAllowed ?? false;
|
const isLocalAddressAllowed = args.isLocalAddressAllowed ?? false;
|
||||||
|
|
||||||
const res = await fetch(url, {
|
const res = await fetch(decodedUrl, {
|
||||||
method: args.method ?? 'GET',
|
method: args.method ?? 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
'User-Agent': this.config.userAgent,
|
'User-Agent': this.config.userAgent,
|
||||||
|
Loading…
Reference in New Issue
Block a user