summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-05-31 11:25:54 +0200
committerJo-Philipp Wich <jo@mein.io>2021-05-31 11:25:54 +0200
commitc4cdfcbe5121d5959dac1e18ed11b8611a86fb9e (patch)
tree6567e2371584c3f0d8dbaac5ecdf75283e274d1d /modules/luci-base/htdocs/luci-static/resources
parent00d518d697fb37e40f405e7d9e7d6540f7243b0f (diff)
luci-app-samba4: prevent calling split() on array or null values
Since `uci.get()` may return null or array values, we cannot blindly call split() on the result. Use the safe `L.toArray()` helper which is intended to deal with such situations. Also clean up whitespace while we're at. Fixes: #5080 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources')
0 files changed, 0 insertions, 0 deletions