aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/multipart
diff options
context:
space:
mode:
authorMislav Marohnić <mislav.marohnic@gmail.com>2009-01-20 12:38:25 -0600
committerJoshua Peek <josh@joshpeek.com>2009-01-20 12:38:25 -0600
commit01f06fc7f4dda52035d5a2273d402d8555a897a5 (patch)
treef565edb0adde7dcb43d09b7e043d3aa827ce1d46 /actionpack/test/fixtures/multipart
parentc090e5e0755bea3a7cd7135329f8dae6094810b6 (diff)
downloadrails-01f06fc7f4dda52035d5a2273d402d8555a897a5.tar.gz
rails-01f06fc7f4dda52035d5a2273d402d8555a897a5.tar.bz2
rails-01f06fc7f4dda52035d5a2273d402d8555a897a5.zip
Don't let empty Tempfiles come through as uploaded files [#1785 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'actionpack/test/fixtures/multipart')
-rw-r--r--actionpack/test/fixtures/multipart/empty9
1 files changed, 9 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/multipart/empty b/actionpack/test/fixtures/multipart/empty
new file mode 100644
index 0000000000..d66f4730f1
--- /dev/null
+++ b/actionpack/test/fixtures/multipart/empty
@@ -0,0 +1,9 @@
+--AaB03x
+Content-Disposition: form-data; name="submit-name"
+
+Larry
+--AaB03x
+Content-Disposition: form-data; name="files"; filename=""
+
+
+--AaB03x--