Closed bparmentier closed 5 years ago
As described in https://github.com/zxing/zxing/wiki/Barcode-Contents#wi-fi-network-config-android-ios-11, a Wi-Fi network with the literal SSID "foo;bar\baz" is recognized as "foo in the QR code.
"foo;bar\baz"
"foo
The final string should be something like WIFI:T:nopass;S:\"foo\;bar\\baz\";; but instead gives WIFI:T:nopass;S:"foo;bar\baz";;.
WIFI:T:nopass;S:\"foo\;bar\\baz\";;
WIFI:T:nopass;S:"foo;bar\baz";;
The code to improve is in app/src/main/java/be/brunoparmentier/wifikeyshare/utils/QrCodeUtils.java.
app/src/main/java/be/brunoparmentier/wifikeyshare/utils/QrCodeUtils.java
As described in https://github.com/zxing/zxing/wiki/Barcode-Contents#wi-fi-network-config-android-ios-11, a Wi-Fi network with the literal SSID
"foo;bar\baz"
is recognized as"foo
in the QR code.The final string should be something like
WIFI:T:nopass;S:\"foo\;bar\\baz\";;
but instead givesWIFI:T:nopass;S:"foo;bar\baz";;
.The code to improve is in
app/src/main/java/be/brunoparmentier/wifikeyshare/utils/QrCodeUtils.java
.