This is a plain patch of changes performed on a git clone of https://git.launchpad.net/ubuntu/+source/netcfg
The fix is simple: use Single-Quoted style when outputting SSID or password, which means start and end with a single quote, and replace any instance of ' with ''. The code compiles, and should work, but is not tested. I have yet to figure out how to run netcfg without generating a modified bootable image and performing an install. ** Patch added: "0001-When-writing-wireless-config-quote-SSID-and-password.patch" https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1952549/+attachment/5543931/+files/0001-When-writing-wireless-config-quote-SSID-and-password.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1952549 Title: SSID and password not properly quoted/escaped when writing YAML To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1952549/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs