Jo-Philipp Wich
81f41819a5
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>
(cherry picked from commit c4cdfcbe5121d5959dac1e18ed11b8611a86fb9e)
2021-05-31 11:27:48 +02:00
..
2021-04-17 19:21:32 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-26 19:11:37 +03:00
2021-02-15 07:44:02 -10:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-26 19:11:37 +03:00
2021-04-09 11:40:47 +03:00
2021-05-16 20:52:12 +03:00
2021-03-29 11:52:21 +02:00
2021-05-16 20:52:12 +03:00
2021-05-26 19:11:37 +03:00
2021-02-25 17:11:28 +02:00
2021-05-16 20:52:12 +03:00
2021-05-26 19:11:37 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-03-27 11:00:11 +02:00
2021-05-26 19:11:37 +03:00
2021-05-26 19:11:37 +03:00
2021-05-16 20:52:12 +03:00
2021-05-26 19:11:37 +03:00
2021-04-17 19:21:32 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2020-05-04 12:02:39 +02:00
2020-05-04 12:02:41 +02:00
2020-05-04 12:02:44 +02:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2020-11-01 10:17:59 +02:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-26 19:11:37 +03:00
2021-04-09 11:40:47 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-04-09 11:40:47 +03:00
2021-02-25 17:11:28 +02:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-26 19:11:37 +03:00
2021-04-27 23:31:27 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2020-05-01 23:39:30 +03:00
2021-05-16 20:52:12 +03:00
2021-05-31 11:27:48 +02:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-04-17 19:21:32 +03:00
2020-04-17 12:40:31 +02:00
2021-01-11 20:03:34 +00:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-04-17 19:21:32 +03:00
2021-05-26 19:11:37 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-16 20:52:12 +03:00
2021-05-26 19:11:37 +03:00
2021-05-08 17:05:54 +03:00
2021-04-27 23:31:27 +03:00
2021-05-26 19:11:37 +03:00
2021-02-08 12:52:32 +02:00
2021-05-16 20:52:12 +03:00