summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/replication.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2013-10-25 09:00:58 +0200
committerPetr Viktorin <pviktori@redhat.com>2013-10-25 15:35:39 +0200
commit0880d030ae7211b9d2e7279195e67f4f5712a69c (patch)
tree0800e1db99cd2c0552cd66d358b524ad8579557d /ipaserver/install/replication.py
parentcdd2e9caffb568c0915fb335e46c464404b21e26 (diff)
downloadfreeipa-0880d030ae7211b9d2e7279195e67f4f5712a69c.tar.gz
freeipa-0880d030ae7211b9d2e7279195e67f4f5712a69c.tar.xz
freeipa-0880d030ae7211b9d2e7279195e67f4f5712a69c.zip
Make set_directive and get_directive more strict
When set_directive was used for directive "foo" and the word "foo" was detected anywhere on the line (e.g. in a comment, or in an example), it was overwritten which may potentially lead to wrong line being overwritten. Only match the directives on the beginning of the lines, it is safer. https://fedorahosted.org/freeipa/ticket/3974
Diffstat (limited to 'ipaserver/install/replication.py')
0 files changed, 0 insertions, 0 deletions