[781] in Moira
Re: Two incorrect strings....
daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Tue Sep 13 16:49:59 1994
Date: Tue, 13 Sep 1994 16:49:40 +0500
From: Theodore Ts'o <tytso@MIT.EDU>
To: Theodore Ts'o <tytso@MIT.EDU>
Cc: Pamela J. Benson <pjb@MIT.EDU>, bug-moira@MIT.EDU
Cc: accounts@MIT.EDU, olcd@MIT.EDU
In-Reply-To: Theodore Ts'o's message of Tue, 13 Sep 1994 13:51:54 +0500,
<9409131751.AA25427@dcl.MIT.EDU>
Date: Tue, 13 Sep 1994 13:51:54 +0500
From: Theodore Ts'o <tytso@MIT.EDU>
This is the standard problem where a user inserts a ' character into a
list, and the Moira code isn't quoting the ' character correctly in all
places --- apparently Ingres SQL has some really screwy quoting
conventions, where it needs to be quoted in some places, but not others.
This is a server bug, but we should probably just hack around it for now
by changing blanche to not add string names with the ' characters...
Well, I decided just to go ahead and do it. Blanche has been modified
to not allow someone to add a string containing a single quote character
(').
It will also print a warning message if a string is added to a list, and
that string does not contain an '@', '%', or '!' character. This should
prevent lossages of the form where a typo when adding a username to a
list like sipb-staff breaks not only that list, but any list which
contains that list (like athena-outages, for example :-).
- Ted