Skip to content

Fix regression from PR233 to allow hyphen in sftpsubsys usernames again #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jonasbardino
Copy link
Contributor

Fix regression from PR233 which caused sftpsubsys to reject usernames with hyphen (-) in them. Dropped the unnecessary escaping of chars and moved hyphen last in line with the standard requirement for regex patterns.

… with

hyphen (-) in them. Dropped the unnecessary escaping of chars and moved hyphen
last in line with the standard requirement for regex patterns.
@jonasbardino jonasbardino requested a review from a team June 13, 2025 09:08
@jonasbardino jonasbardino self-assigned this Jun 13, 2025
@jonasbardino jonasbardino added the bug Something isn't working label Jun 13, 2025
@jonasbardino jonasbardino linked an issue Jun 13, 2025 that may be closed by this pull request
@rasmunk rasmunk self-requested a review June 13, 2025 16:34
jonasbardino added a commit that referenced this pull request Jun 25, 2025
… with

hyphen (-) in them. Dropped the unnecessary escaping of chars and moved hyphen
up front in line with the standard requirement for regex patterns and discussed
in original PR #262 comment.
Just re-applied to `next` instead of `edge`.
@jonasbardino
Copy link
Contributor Author

Replaced by PR #272 .

@jonasbardino jonasbardino deleted the fix/regression-in-sftp-rejecting-usernames-containing-hyphen branch June 25, 2025 10:34
jonasbardino added a commit that referenced this pull request Jun 25, 2025
…in (next) (#272)

Fix regression from PR233 which caused sftpsubsys to reject usernames
with hyphen (-) in them. Dropped the unnecessary escaping of chars and
moved hyphen up front in line with the standard requirement for regex
patterns and discussed in original PR #262 comment.
Just re-applied to `next` instead of `edge`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Usernames with hyphen are rejected in sftpsubsys
3 participants