Compare commits

..

No commits in common. "3a2922db6f150d15c41ffa4ecdb99d11c77b10e7" and "c488ba03b776d67ad3feaf63505225e4ac297a36" have entirely different histories.

5 changed files with 6 additions and 7 deletions

View File

@ -8,9 +8,9 @@
### General
- Feat: コンテンツの表示にログインを必須にできるように
- Feat: 過去のノートを非公開化/フォロワーのみ表示可能にできるように
- Fix: お知らせ作成時に画像URL入力欄を空欄に変更できないのを修正 ( #14976 )
- Enhance: 依存関係の更新
- Enhance: l10nの更新
- Fix: お知らせ作成時に画像URL入力欄を空欄に変更できないのを修正 ( #14976 )
### Client
- Enhance: Bull DashboardでRelationship Queueの状態も確認できるように

View File

@ -1,6 +1,6 @@
{
"name": "misskey",
"version": "2024.11.0-beta.4",
"version": "2024.11.0-alpha.3",
"codename": "nasubi",
"repository": {
"type": "git",

View File

@ -283,7 +283,6 @@ export class HttpRequestService {
},
): Promise<Response> {
const timeout = args.timeout ?? 5000;
const decodedUrl = decodeURIComponent(url);
const controller = new AbortController();
setTimeout(() => {
@ -292,7 +291,7 @@ export class HttpRequestService {
const isLocalAddressAllowed = args.isLocalAddressAllowed ?? false;
const res = await fetch(decodedUrl, {
const res = await fetch(url, {
method: args.method ?? 'GET',
headers: {
'User-Agent': this.config.userAgent,
@ -300,7 +299,7 @@ export class HttpRequestService {
},
body: args.body,
size: args.size ?? 10 * 1024 * 1024,
agent: (decodedUrl) => this.getAgentByUrl(decodedUrl, false, isLocalAddressAllowed),
agent: (url) => this.getAgentByUrl(url, false, isLocalAddressAllowed),
signal: controller.signal,
});

View File

@ -220,7 +220,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
private httpRequestService: HttpRequestService,
) {
super(meta, paramDef, async (ps, me) => {
const res = await this.httpRequestService.send(ps.url, {
const res = await this.httpRequestService.send(decodeURIComponent(ps.url), {
method: 'GET',
headers: {
Accept: 'application/rss+xml, */*',

View File

@ -1,7 +1,7 @@
{
"type": "module",
"name": "misskey-js",
"version": "2024.11.0-beta.4",
"version": "2024.11.0-alpha.3",
"description": "Misskey SDK for JavaScript",
"license": "MIT",
"main": "./built/index.js",