Projet

Général

Profil

« Précédent | Suivant » 

Révision 92ca4bc3

Ajouté par jim-p il y a plus de 9 ans

Encode the detail field of an alias entry before displaying its contents back to the user.

Voir les différences:

usr/local/www/firewall_aliases_edit.php
721 721
							</select>
722 722
						</td>
723 723
						<td>
724
							<input name="detail<?php echo $counter; ?>" type="text" class="formfld unknown" id="detail<?php echo $counter; ?>" size="50" value="<?=$details[$counter];?>" />
724
							<input name="detail<?php echo $counter; ?>" type="text" class="formfld unknown" id="detail<?php echo $counter; ?>" size="50" value="<?=htmlspecialchars($details[$counter]);?>" />
725 725
						</td>
726 726
						<td>
727 727
							<a onclick="removeRow(this); return false;" href="#"><img border="0" src="/themes/<?echo $g['theme'];?>/images/icons/icon_x.gif" alt="" title="<?=gettext("remove this entry"); ?>" /></a>

Formats disponibles : Unified diff