diff options
-rw-r--r-- | modules/luci-base/luasrc/http.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/http.lua b/modules/luci-base/luasrc/http.lua index 56d006482..be5577ee0 100644 --- a/modules/luci-base/luasrc/http.lua +++ b/modules/luci-base/luasrc/http.lua @@ -359,6 +359,7 @@ function mimedecode_message_body(src, msg, file_cb) then field.name = lhttp.header_attribute(buffer, "name") field.file = lhttp.header_attribute(buffer, "filename") + field[1] = field.file end if field.headers then |