
Pascal Nobus - 2020-02-05 18:03:12
If there's a TXT-record in the zone that doesn't use quotes (like MS or google-verificiation records), only the first character of the value is returned.
Patch.
Remove line 210:
$record['data'] = substr($record['data'], 0, strrpos($record['data'], '"')+1); // strip everything after the last "
Replace it with these 4 lines:
if (preg_match('/"/',$record['data']))
$record['data'] = substr($record['data'], 0, strrpos($record['data'], '"')+1); // strip everything after the last "
else
$record['data'] = $record['data'];