0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

templates/admin_create-domain.php:

- fix XSS in domain and description field
  (Thanks to Filippo Cavallarin!)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1323 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
Christian Boltz 2012-01-10 19:39:29 +00:00
parent 5c4d9e48bd
commit 8f5047cb20

View File

@ -7,12 +7,12 @@
</tr>
<tr>
<td><?php print $PALANG['pAdminCreate_domain_domain'] . ":"; ?></td>
<td><input class="flat" type="text" name="fDomain" value="<?php print $tDomain; ?>" /></td>
<td><input class="flat" type="text" name="fDomain" value="<?php print htmlentities($tDomain); ?>" /></td>
<td><?php print $pAdminCreate_domain_domain_text; ?></td>
</tr>
<tr>
<td><?php print $PALANG['pAdminCreate_domain_description'] . ":"; ?></td>
<td><input class="flat" type="text" name="fDescription" value="<?php print $tDescription; ?>" /></td>
<td><input class="flat" type="text" name="fDescription" value="<?php print htmlentities($tDescription); ?>" /></td>
<td>&nbsp;</td>
</tr>
<tr>