summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dump1090/root/etc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-04-24 13:37:33 +0200
committerJo-Philipp Wich <jo@mein.io>2018-04-24 13:44:40 +0200
commit914c661b58fc7e2dede1b9b4f83544b05232065c (patch)
tree8771a238e820c254956769d5a55190bccb02e8c7 /applications/luci-app-dump1090/root/etc
parent0c30ee07ce70073df639148b48daa08682f3e1d0 (diff)
luci-base: ensure that file upload values have length
Ensure that the (table) length of a file upload value has nonzero length by initializing the first table index with the file name. This fixes tests in the form x = luci.http.formvalue(...) if x and #x > 0 then ... end Fixes #1763. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-dump1090/root/etc')
0 files changed, 0 insertions, 0 deletions