mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-24 07:30:57 +01:00
[PR #13556] [MERGED] Don't allow usernames to have leading or trailing spaces #13446
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#13446
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/jellyfin/jellyfin/pull/13556
Author: @Jxiced
Created: 2/14/2025
Status: ✅ Merged
Merged: 2/20/2025
Merged by: @Bond-009
Base:
master← Head:master📝 Commits (4)
a0ab0ebUpdate ThrowIfInvalidUsername to include whitespaces.237c1d9Update regex and revert previous changes to ThrowIfInvalidUsername.b5fcbfcUpdate test cases.84450bbUpdate Jellyfin.Server.Implementations/Users/UserManager.cs📊 Changes
2 files changed (+5 additions, -1 deletions)
View changed files
📝
Jellyfin.Server.Implementations/Users/UserManager.cs(+1 -1)📝
tests/Jellyfin.Server.Implementations.Tests/Users/UserManagerTests.cs(+4 -0)📄 Description
Changes
Perform a trim on the entered username and throw a different exception if the name exists but with a whitespace.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.