Skip to content

Commit

Permalink
動画タイトルにencodeURIComponentが行われるよう変更
Browse files Browse the repository at this point in the history
  • Loading branch information
takusea committed Oct 20, 2024
1 parent d03f002 commit 9ffe8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/video-metadata/useVideoMetadatas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function useVideoMetadatas() {
return videoMetadatas
.map((metadata, index) => {
const title = metadata.title ? `.${metadata.title}` : "";
return `${index}=${metadata.type}.${metadata.id}.${metadata.seconds}${title}`;
return `${index}=${metadata.type}.${metadata.id}.${metadata.seconds}${encodeURIComponent(title)}`;
})
.join("&");
}
Expand Down

0 comments on commit 9ffe8a9

Please sign in to comment.