[PR #2880] [MERGED] Allow spaces in username for LDAP users #16643

Closed
opened 2025-11-02 12:15:22 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2880
Author: @jochenrill
Created: 11/10/2017
Status: Merged
Merged: 11/13/2017
Merged by: @lafriks

Base: masterHead: fix-ldap


📝 Commits (2)

  • b797de6 Correct ldap username validation.
  • 83673ea Merge branch 'master' into fix-ldap

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 modules/auth/ldap/ldap.go (+1 -1)

📄 Description

PR #342 was only partially applied. Spaces should not be at the start
and end of a username but they can be inside.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2880 **Author:** [@jochenrill](https://github.com/jochenrill) **Created:** 11/10/2017 **Status:** ✅ Merged **Merged:** 11/13/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `fix-ldap` --- ### 📝 Commits (2) - [`b797de6`](https://github.com/go-gitea/gitea/commit/b797de64fd5d2820ee18cd8764abbf81dbc0ad99) Correct ldap username validation. - [`83673ea`](https://github.com/go-gitea/gitea/commit/83673eac55cd807294e78a00ae3d5832522012be) Merge branch 'master' into fix-ldap ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `modules/auth/ldap/ldap.go` (+1 -1) </details> ### 📄 Description PR #342 was only partially applied. Spaces should not be at the start and end of a username but they can be inside. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:15:22 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16643