[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: Contradiction in bus names naming in D-Bus spec
From:       Thiago Macieira <thiago () kde ! org>
Date:       2021-02-03 0:36:03
Message-ID: 1906919.Bd1CFidSIN () tjmaciei-mobl1
[Download RAW message or body]

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



_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic