]> git.mxchange.org Git - simgear.git/commit
- close loophole through which one could sneak in illegal property names
authormfranz <mfranz>
Tue, 17 Jul 2007 14:52:51 +0000 (14:52 +0000)
committermfranz <mfranz>
Tue, 17 Jul 2007 14:52:51 +0000 (14:52 +0000)
commit23c7a1b5b7401cc36b24ac7b238eb7d3edcde070
tree59f1a5738e0045ea963565f1e21d3738229facc1
parent3b21e9434f08326bd2bb3e683938b59c68496705
- close loophole through which one could sneak in illegal property names
  containing slashes, colons and all sorts of evil characters. In Nasal
  this could be done via props.globals.getChild("1!@#$//[]{}", 0, 1).setValue(0);
  The cause is that getChild() hands the given name directly over to an
  alternative SGPropertyNode ("convenience") constructor which sets the
  name without any checks.
- unify exception messages: first character is lower case
simgear/props/props.cxx