[PR #2152] [MERGED] Remove whitespace at the end of a line #14721

Closed
opened 2026-08-05 03:06:12 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2152
Author: @Yxnt
Created: 6/19/2024
Status: Merged
Merged: 6/19/2024
Merged by: @mlsmaycon

Base: mainHead: remove-whitespace-client-ui-settings-page


📝 Commits (2)

  • 335401a Remove whitespace at the end of a line
  • 368292d resolve conflicts

📊 Changes

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

View changed files

📝 client/ui/client_ui.go (+9 -6)

📄 Description

Describe your changes

In the management url textbox in the settings page of the client ui, if a space is added to the end of the input, then the connection fails (when the user enters a blank character at the end, he/she may not realize that he/she is entering a blank character), does this need to be done to deal with blank characters.

image
image

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/netbirdio/netbird/pull/2152 **Author:** [@Yxnt](https://github.com/Yxnt) **Created:** 6/19/2024 **Status:** ✅ Merged **Merged:** 6/19/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `remove-whitespace-client-ui-settings-page` --- ### 📝 Commits (2) - [`335401a`](https://github.com/netbirdio/netbird/commit/335401aff78cb31a62a108149a7228c5800b802b) Remove whitespace at the end of a line - [`368292d`](https://github.com/netbirdio/netbird/commit/368292d276012760452b412692299ff4fae350b5) resolve conflicts ### 📊 Changes **1 file changed** (+9 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `client/ui/client_ui.go` (+9 -6) </details> ### 📄 Description ## Describe your changes In the management url textbox in the settings page of the client ui, if a space is added to the end of the input, then the connection fails (when the user enters a blank character at the end, he/she may not realize that he/she is entering a blank character), does this need to be done to deal with blank characters. ![image](https://github.com/netbirdio/netbird/assets/10323352/2caf1a33-f1c1-4ff0-9c80-2a8c2d932ff7) ![image](https://github.com/netbirdio/netbird/assets/10323352/9d01849c-92f9-4b87-a8c1-1ef716d20ddf) ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 03:06:12 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#14721