mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
The previous change did not work as intended for partitions with _ in the name. I.e "0:qsee_1". It would output an error "Invalid characters in filename". So fix this by matching and replacing any character except for a-z and 0-9 with "-". Example "0:qsee_1" = I.e "0-qsee-1". Signed-off-by: Kristian Skramstad <kristian+github@83.no>