Escaping for paths

Havoc Pennington hp at redhat.com
Thu Jun 15 05:58:48 PDT 2006


Ross Burton wrote:
> I think it would be useful for DBus to contain a function that escaped
> an arbitrary string so that it could be used in an object path to avoid
> this needless wheel re-inventing.  Anyone else agree?

Why not propose a complete validation/escaping API, another recent 
thread mentioned validation also. Probably need validation for 
interfaces, method names, paths, bus names; escaping only for paths and 
perhaps bus names?

Havoc


More information about the dbus mailing list