luci-app-mosquitto: validate paths as path, not file 2179/head
authorKarl Palsson <karlp@etactica.com>
Mon, 24 Sep 2018 16:00:52 +0000 (16:00 +0000)
committerKarl Palsson <karlp@etactica.com>
Mon, 24 Sep 2018 16:02:24 +0000 (16:02 +0000)
commit8fdb5f64f2cdb6592e1aefeac9ae9be4fd67bc9c
treeabbf6c315efc6cd1e0005572f6cefe10dd70fa39
parente722ac1807bf9ba704bfaa0b51f971b8aa17a88b
luci-app-mosquitto: validate paths as path, not file

luci has separate validation for directories and files, make sure to
use the right one.

Signed-off-by: Karl Palsson <karlp@etactica.com>
applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua