@@ -149,5 +149,5 @@
</div>
<script>
- GLOBAL.DNS_REC_PREFIX = <?php json_encode($_GET['domain']) ?>;
+ GLOBAL.DNS_REC_PREFIX = "<?=htmlentities($_GET['domain']); ?>";
</script>
@@ -549,6 +549,6 @@
- GLOBAL.FTP_USER_PREFIX = <?php json_encode($user.'_') ?>;
- GLOBAL.FTP_USER_PREPATH = <?= json_encode($v_ftp_user_prepath) ?>;
+ GLOBAL.FTP_USER_PREFIX = "<?=htmlentities($user.'_');?>";
+ GLOBAL.FTP_USER_PREPATH = "<?=htmlentities($v_ftp_user_prepath);?>";
@@ -154,5 +154,5 @@
</form>