Created
June 21, 2014 05:25
-
-
Save mlc/caf2ca1bd1261b908f14 to your computer and use it in GitHub Desktop.
testing form field escaping in multipart/form-data forms
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>multipart test</title> | |
<meta charset='utf-8'> | |
</head> | |
<body> | |
<h1>multipart test</h1> | |
<form action='/test' enctype='multipart/form-data' method='post'> | |
<p> | |
<input name='foo"bar"' value='foo"bar"'> | |
<input name='foo"bar2"' value='foo"bar2"'/> | |
<input name='1[]' value='1[]'> | |
<input name='something with a space' value='something with a space'> | |
<input name='ûñíçøđė' value='ûñíçøđė'> | |
<input name='whatever%22' value='whatever%22'> | |
<input name='a+b' value='a+b'> | |
</p> | |
<p> | |
<input type='submit'> | |
</p> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment