algo.'); if (!($_POST['type'] === '2')) output(403, 'Wrong value for type.'); if (!(preg_match('/^[a-z0-9]{64}$/D', $_POST['fp']))) output(403, 'Wrong value for fp.'); rateLimit(); knotcZoneExec($_POST['zone'], [ $values['domain'], $values['ttl'], 'SSHFP', $_POST['algo'], $_POST['type'], $_POST['fp'] ]); output(200, _('Modification done.'));