Created
June 17, 2012 06:58
-
-
Save mironal/2943747 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Content-Type: application/json; charset=urf-8'); | |
$json = Array(); | |
$json['sctipt'] = '<body onload=alert(1)>'; | |
$json['miss img'] = '<img src=img.jpg>'; | |
echo json_encode($json); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment