semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

InteractiveSetup breaks when it encounters a space within values

Open jamesalbert opened this issue 2 years ago • 4 comments

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.

jamesalbert avatar Jul 11 '23 00:07 jamesalbert

Hi @jamesalbert Thank you! Will test soon.

fiftin avatar Jul 22 '23 20:07 fiftin

Hey @fiftin sounds good!

jamesalbert avatar Aug 08 '23 18:08 jamesalbert

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

fiftin avatar Sep 04 '23 21:09 fiftin

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.

jamesalbert avatar Feb 07 '24 21:02 jamesalbert