Projet

Général

Profil

« Précédent | Suivant » 

Révision 2276d743

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
677 677
							</select>
678 678
						</td>
679 679
						<td>
680
							<input name="detail<?php echo $counter; ?>" type="text" class="formfld unknown" id="detail<?php echo $counter; ?>" size="50" value="<?=$details[$counter];?>" />
680
							<input name="detail<?php echo $counter; ?>" type="text" class="formfld unknown" id="detail<?php echo $counter; ?>" size="50" value="<?=htmlspecialchars($details[$counter]);?>" />
681 681
						</td>
682 682
						<td>
683 683
							<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