diff options
-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); |