mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-25 04:15:36 -04:00
[PR #193] [MERGED] Fix broken admin library view if game library contains paths/titles with non-unicode characters #257
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Drop-OSS/drop/pull/193
Author: @FurbyOnSteroids
Created: 8/16/2025
Status: ✅ Merged
Merged: 8/16/2025
Merged by: @DecDuck
Base:
develop← Head:fix-non-unicode-titles-in-tasks📝 Commits (9)
e21688freplace btoa with a Buffer implementation, as btoa does not support non-unicode characters.3b44bbbreplace btoa with a Buffer implementation, as btoa does not support non-unicode characters.ca4c01bMerge remote-tracking branch 'origin/fix-non-unicode-titles-in-tasks' into fix-non-unicode-titles-in-taskse4653b7fix linting9cafaf5fix lintingf98b811replace buffer implementation with a md5 hash. This also adds the ts-md5 library.f94f7e3Revert "replace buffer implementation with a md5 hash. This also adds the ts-md5 library."474128ereplace buffer implementation with md5 hash from node:crypto28c745afix linting.. again📊 Changes
1 file changed (+7 additions, -2 deletions)
View changed files
📝
server/internal/library/index.ts(+7 -2)📄 Description
Fixes #192
Btoa does not support non-unicode characters (https://developer.mozilla.org/en-US/docs/Web/API/Window/btoa#unicode_strings).
This replaces btoa with Buffers to convert utf8 to base64.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.