Contradiction in bus names naming in D-Bus spec

Thiago Macieira thiago at kde.org
Wed Feb 3 00:36:03 UTC 2021


On Monday, 1 February 2021 07:25:43 PST Igor Plastov wrote:
> Just ":" is also valid:
> ~# python3 -ic "import dbussy"
> 
> >>> dbussy.validate_bus_name(":")
> 
> True
> 
> It looks strange.

Those are unique connection names and can only be created by the bus. One must 
assume that the bus only creates valid names for itself.

The implementation I have in QDBusUtil::isValidUniqueConnectionName() would 
return false for ":" and ":.a" though.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering





More information about the dbus mailing list