reugn/wifiqr

BUG: Does not accept spaces in SSID or Password

davidpfarrell opened this issue · 2 comments

Greetings! Per my comment on reddit regarding a bug I found today:

There seems to be a bug when using spaces in either the network name or the password:

$ go run github.com/reugn/wifiqr/cmd/wifiqr@latest
Enter the name of the wireless network (SSID):
one two three
Enter the network key (password):

(qr code omitted for brevity)

bash-5.1$ three
bash: three: command not found
bash-5.1$ 

Notice that it did not ask me for the password. Scanning the generated QR code shows that it used one as the SSID and two as the password.

reugn commented

Hi @davidpfarrell. This was fixed in v0.2.1.

Fix confirmed locally, thanks !