diff options
author | Mislav Marohnić <mislav.marohnic@gmail.com> | 2009-01-20 12:38:25 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-01-20 12:38:25 -0600 |
commit | 01f06fc7f4dda52035d5a2273d402d8555a897a5 (patch) | |
tree | f565edb0adde7dcb43d09b7e043d3aa827ce1d46 /actionpack/test/fixtures/multipart | |
parent | c090e5e0755bea3a7cd7135329f8dae6094810b6 (diff) | |
download | rails-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/empty | 9 |
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--
|