Arbitrary string to DBus path

Colin Walters walters at verbum.org
Fri Nov 15 13:15:17 PST 2013


On Fri, 2013-11-15 at 11:21 -0600, Ted Gould wrote:

> Thoughts?  Is this something the spec needs?  

My main question: How would debugging tools like d-feet know that a
particular object path was encoded using this algorithm?  Maybe you
could insert some string like "/dbusescaped/"; dunno.

BTW there are several functions like this in glib too I'm sure; I
spotted gdesktopappinfo.c:object_path_from_appid() in a quick search.

So I agree that it would make sense to have a "standard" blessed
escaping in libdbus, and we could replicate that to glib and libnih.  If
there were a non-ugly way to have it be actually useful to d-feet, that
could argue for having it in the spec as a recommended thing for dbus
tools to try to reverse.






More information about the dbus mailing list