mirror of
https://github.com/afkarxyz/SpotiFLAC.git
synced 2026-04-26 07:35:52 +03:00
[PR #248] [CLOSED] correctly implement whitespace trimming in sanitizePath #535
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SpotiFLAC#535
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/afkarxyz/SpotiFLAC/pull/248
Author: @talhoid
Created: 1/8/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (2)
9cecafbcorrectly implement whitespace trimming in sanitizePathde9a966Merge branch 'afkarxyz:main' into main📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
frontend/src/lib/utils.ts(+1 -1)📄 Description
This fixes a regression introduced by #215.
#215 did not successfully trim the whitespace. It assigns a new variable with a trimmed version of the string, but it never uses it for further sanitization. This also causes an error during compilation as the variable is unused:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.