- Fixed Bug #745, which allows projects names with spaces, provided the values
  are quoted (thanks to Duane Waddle).
- Added unit test.
This commit is contained in:
Paul Beckingham 2011-04-22 00:03:45 -04:00
parent 76f11cb73c
commit 4f4a04738f
4 changed files with 10 additions and 8 deletions

View file

@ -355,13 +355,6 @@ bool Att::validNameValue (
name +
"\" is not an attribute you may modify directly.";
// Thirdly, make sure the value has the expected form or values.
if (name == "project")
{
if (!noSpaces (value))
throw std::string ("The '") + name + "' attribute may not contain spaces.";
}
else if (name == "priority")
{
if (value != "")