NetworkManager/introspection
Thomas Haller 0870906540 device: sanitze UTF-8 values for D-Bus
ip link add name $'d\xccf\\c' type dummy

Use nm_utils_str_utf8safe_escape() to sanitize non UTF-8 sequences
before exposing them on D-Bus. The operation can be reverted client
side via nm_utils_str_utf8safe_unescape() or simply g_strcompress().

Note that this preserves all valid UTF-8 sequences as-is, with exception
of the backslash escape character and ASCII control characters. Thus, this
is a change in behavior for strings that contain such characters.

Note that nmcli is not changed to somehow unescape the string before
printing. As the string is not valid UTF-8 (or contains ASCII characters
that need escaping), they are not printable as-is, so unescaping before
printing makes little sense.
2017-05-19 09:46:08 +02:00
..
org.freedesktop.NetworkManager.AccessPoint.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.AgentManager.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Checkpoint.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Connection.Active.xml active-connection: emit a StateChanged signal on state changes 2017-03-17 10:21:19 +01:00
org.freedesktop.NetworkManager.Device.Adsl.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Bluetooth.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Bond.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Bridge.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Dummy.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Generic.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Infiniband.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.IPTunnel.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Macsec.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Macvlan.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Modem.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.OlpcMesh.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Statistics.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Team.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Tun.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Veth.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Vlan.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Vxlan.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.WiMax.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Wired.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.Wireless.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Device.xml device: sanitze UTF-8 values for D-Bus 2017-05-19 09:46:08 +02:00
org.freedesktop.NetworkManager.DHCP4Config.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.DHCP6Config.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.DnsManager.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.IP4Config.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.IP6Config.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.PPP.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.SecretAgent.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Settings.Connection.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.Settings.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.VPN.Connection.xml vpn-connection: use NMActiveConnectionStateReason 2017-03-17 10:21:19 +01:00
org.freedesktop.NetworkManager.VPN.Plugin.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.WiMax.Nsp.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00
org.freedesktop.NetworkManager.xml introspection: include short description everywhere 2017-03-17 10:15:11 +01:00