Modules.QRCodeGenerator
Modules.QRCodeGenerator copied to clipboard
Incorrect QR-codes with certain string
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
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.
Spot on. Indeed adding a backslash does the trick.