cockpit-project/cockpit — pull request #126 by cgwalters (2013-11-14 15:03:38+00:00)
Title: network: Escape object paths

So we don't crash on e.g. cockpit0-nic which contains '-', a
disallowed character in DBus object paths.