summaryrefslogtreecommitdiff
path: root/test/multipart
diff options
context:
space:
mode:
authorJames Tucker <jftucker@gmail.com>2012-01-22 22:48:35 -0800
committerJames Tucker <jftucker@gmail.com>2012-01-22 22:48:35 -0800
commit7d3c3fda71b2e5ad1f7d36c3c65b8413a2f3075b (patch)
tree1da53e958950eb4f9dfec1cdc725e928d6c031b4 /test/multipart
parentf6b11a090ff51fe3a6f2f8279f3618bfbffd2f74 (diff)
downloadrack-7d3c3fda71b2e5ad1f7d36c3c65b8413a2f3075b.tar.gz
Multipart percentage fail, round 3, the final character. Fixes strings terminated with %. See #323. Revisit for 1.5.1.4.1
Diffstat (limited to 'test/multipart')
-rw-r--r--test/multipart/filename_with_unescaped_percentages36
1 files changed, 6 insertions, 0 deletions
diff --git a/test/multipart/filename_with_unescaped_percentages3 b/test/multipart/filename_with_unescaped_percentages3
new file mode 100644
index 00000000..4dba3c88
--- /dev/null
+++ b/test/multipart/filename_with_unescaped_percentages3
@@ -0,0 +1,6 @@
+------WebKitFormBoundary2NHc7OhsgU68l3Al
+Content-Disposition: form-data; name="document[attachment]"; filename="100%"
+Content-Type: image/jpeg
+
+contents
+------WebKitFormBoundary2NHc7OhsgU68l3Al--