Skip to content
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

Bug: newline added for inputs while login in bash #65

Open
muaz-32 opened this issue May 21, 2024 · 2 comments · May be fixed by #66
Open

Bug: newline added for inputs while login in bash #65

muaz-32 opened this issue May 21, 2024 · 2 comments · May be fixed by #66

Comments

@muaz-32
Copy link
Contributor

muaz-32 commented May 21, 2024

When using bash in Windows, a new line is added with the input when enter is pressed for the next input. As a result, an extra space character is added to the server URL. It happens for all the inputs probably. For example, the password is changed due to carriage return so the user is unable to log in. Without pressing enter, the user cannot move to the next input. So it would be better to trim the spaces of the inputs.

System: Windows 10
Terminal: Bash

@muaz-32 muaz-32 linked a pull request May 21, 2024 that will close this issue
@amands98
Copy link
Collaborator

Could you record the video or Screen shot and explain what the problem was?

@muaz-32
Copy link
Contributor Author

muaz-32 commented May 21, 2024

Could you record the video or Screen shot and explain what the problem was?

harbor.issue.mp4

In the video, you can see that in the beginning an extra space is added with the server URL. So when I trimmed the spaces, it was an authentication error because the password was carrying one extra character (carriage return).

I have updated the issue description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants