Projet

Général

Profil

« Précédent | Suivant » 

Révision a8c82ef9

Ajouté par Renato Botelho il y a plus de 9 ans

Pass path parameter through htmlpecialchars()

Voir les différences:

usr/local/www/edit.php
229 229
	<?php if($_GET['action'] == "load"): ?>
230 230
		jQuery(window).load(
231 231
			function() {
232
				jQuery("#fbTarget").val("<?=$_GET['path'];?>");
232
				jQuery("#fbTarget").val("<?=htmlspecialchars($_GET['path']);?>");
233 233
				loadFile();
234 234
			}
235 235
		);

Formats disponibles : Unified diff