mirror of
https://github.com/tubearchivist/tubearchivist-jf-plugin.git
synced 2026-03-23 20:37:14 +00:00
[GH-ISSUE #39] [Bug]:Spaces in usernames not handled #31
Labels
No labels
bug
enhancement
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tubearchivist/archived-tubearchivist-jf-plugin#31
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?
Originally created by @stonkage on GitHub (Mar 4, 2025).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-jf-plugin/issues/39
I've read the documentation
Operating System
Linux
Your Bug Report
Describe the bug
TA Plugin doesn't appear to be able to sync if the jellyfin user as a space (see log)
The space is removed from the gui after saving the setting and refreshing the page
Steps To Reproduce
Create user with a space in its name
Wait for sync
Observe failure
Expected behavior
It would sync
Relevant Jellyfin log output
Anything else?
No response
@mattkduran commented on GitHub (Mar 7, 2025):
It looks like this is related to this code block here in PluginConfiguration.cs
The replace portion on line 127 is stripping all spaces in the string which leads to usernames with spaces having them cleared out.
I think the setter could be modified like this which would split on commas then trim any leading or trailing spaces while leaving the spaces in the middle of the string.
@mattkduran commented on GitHub (Mar 7, 2025):
I added a pull request for it here with one that I previously submitted -- hoping it gets reviewed soon!
https://github.com/tubearchivist/tubearchivist-jf-plugin/pull/38
@DarkFighterLuke commented on GitHub (Mar 10, 2025):
Thanks for your contribution!