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

InteractiveSetup breaks when it encounters a space within values #1332

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

jamesalbert
Copy link

@jamesalbert jamesalbert commented Jul 11, 2023

I ran into an issue when I deployed with my ldap credentials. My SEMAPHORE_LDAP_DN_BIND has a space in it. fmt.Scan stops at spaces, so the values got cut up and distributed incorrectly. The change proposed creates a single reader for all cases of ingesting user input (instead of a half mix of bufio.Reader and fmt.Scan).

Compilation and tests pass on my end. I also provided my config with the spaces in it and works.

@fiftin
Copy link
Collaborator

fiftin commented Jul 22, 2023

Hi @jamesalbert Thank you!
Will test soon.

@jamesalbert
Copy link
Author

Hey @fiftin sounds good!

@fiftin
Copy link
Collaborator

fiftin commented Sep 4, 2023

Hi @jamesalbert could you merge develop again to trigger GitHub Actions for tests?

@jamesalbert
Copy link
Author

hey @fiftin (long time to talk to! 😅 ), I didn't have the option to merge develop again, but I triggered the action by adding a clearer comment in askValue.

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 this pull request may close these issues.

None yet

2 participants