DNS search domains from Fortinet are incorrect in systemd-resolved
I use openconnect-8.20-1.fc36.x86_64 on Fedora 36 to connect to a Fortinet VPN. Works great but there is one oddity concerning DNS search domains. The server sends them to the client, I see the following line on openconnect's stdout: ``` Got search domain corp.intern,corp.admin,corp.dmz ``` They are given to systemd-resolved, but apparently something went wrong. Here the relevant line from resolvectl: ``` DNS Domain: corp.intern\044corp.admin\044corp.dmz ``` Looks like some weird byte ended up in resolved's list. This does not happen when I use openconnect via NetworkManager. Then everything is correctly whitespace delimited. EDIT: apparently vpnc had a similar problem in the past: https://github.com/systemd/systemd/issues/8975
issue