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

Incorrect QR-codes with certain string #19

Open
WagoL opened this issue Sep 30, 2022 · 2 comments
Open

Incorrect QR-codes with certain string #19

WagoL opened this issue Sep 30, 2022 · 2 comments

Comments

@WagoL
Copy link

WagoL commented Sep 30, 2022

I'm facing the following issue when using a \ in the password, after rendering the QR code and scanning the \ is gone in the password.
Code used.

$password = 'eKg842~\=cjf677'
New-QRCodeWifiAccess -SSID 'MyWiFi' -Password $password -Width 10 -Show
@TobiasPSP
Copy link
Owner

Can you try and see what happens when you submit a double backslash instead of one? I can only assume that it was treated as escape character, so duplicating might escape it.

@WagoL
Copy link
Author

WagoL commented Sep 30, 2022

Spot on. Indeed adding a backslash does the trick.

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

No branches or pull requests

2 participants