[Bug 1952549] Re: SSID and password not properly quoted/escaped when writing YAML

2021-11-28 Thread Maarten van der Schrieck
I just tested the patch by modifying an Ubuntu 18 USB install stick and performing a clean install on another USB disk. The SSID and password are now indeed stored with single quotes, and as expected, an otherwise non-functioning SSID did in fact work after booting the newly installed system. --

[Bug 1952549] Re: SSID and password not properly quoted/escaped when writing YAML

2021-11-28 Thread Ubuntu Foundations Team Bug Bot
The attachment "0001-When-writing-wireless-config-quote-SSID-and- password.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message per

[Bug 1952549] Re: SSID and password not properly quoted/escaped when writing YAML

2021-11-28 Thread Maarten van der Schrieck
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 sh