diff options
author | Luke Bratch <luke@bratch.co.uk> | 2017-10-01 12:56:47 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2017-10-01 12:56:47 +0100 |
commit | 5a9e4c10116b32a3f0c78c812977cb3519bbec92 (patch) | |
tree | c5268aca2dd3b3ac3fab54ff1c4e8e0491b5d9d5 /dns.php | |
parent | c1e026edbe67ce82aa206562da3ef84bb4ac0f43 (diff) |
Diffstat (limited to 'dns.php')
-rw-r--r-- | dns.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -94,6 +94,7 @@ function writezone($domain, $zonetext, $password = null) { // Escape characters that will break the echo later on $zonetext = str_replace('$', '\$', $zonetext); + $zonetext = str_replace('"', '\"', $zonetext); // Create a temporary file for checking the zone file validity sshrun("echo -en \"$zonetext\" > " . TMPROOT . $domain . TMPSUFFIX); |