Hyphens (-) in unique names

John (J5) Palmieri johnp at redhat.com
Mon Oct 17 21:46:58 PDT 2005


On Mon, 2005-10-17 at 23:20 -0400, Havoc Pennington wrote:
> On Mon, 2005-10-17 at 19:33 -0400, John (J5) Palmieri wrote:
> > I still haven't heard from Waldo on a checkin he made that allowed
> > hyphens in bus names and unique names. Since - is allowed  :- is a valid
> > unique name now as is :0-4.  Is this acceptable to everyone, in which
> > case those two test cases will stay removed from the test suite.
> 
> ":" can't be allowed at the start; it breaks guaranteed semantics and
> could be a security issue if clients are allowed to "spoof" a unique
> name.

unique names not bus name.  There were some tests in the suite which
tested that :- and :0-10 got blocked.  I took these out but wanted to
make sure this was what we wanted.

> > Note, that if there is no good reason to have the dash other than
> > ascetics I'm going to revert the patch since it is inconsistent with
> > other naming rules.  Waldo, I need to know why you added it.  If it is
> > for the dbus/dcop stuff you are working on then it is fine and can stay.
> 
> That is why he put it in, there's a mail in the archives about it
> iirc...

I must have missed it.  Sorry, I'm getting a bit militant as we move
closer to 1.0 ;-)

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list