Re: Contradiction in bus names naming in D-Bus spec

Thiago Macieira <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <1906919.Bd1CFidSIN@tjmaciei-mobl1>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.