Created
June 4, 2014 04:03
-
-
Save alchemycs/45395e64da1ae0496805 to your computer and use it in GitHub Desktop.
Web input/output sanitisation test script
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
/* | |
This file is used to test any input that is also used as an output to ensure sanitisation has occured: | |
Usage: on any form input enter something like: | |
<script src="thisfile.js"></script> | |
*/ | |
alert('If this alert box worked then you need to sanitise your output!'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment