luci-base: shell quote package name variable to prevent command injection
authorPaul Donald <[email protected]>
Wed, 5 Nov 2025 21:10:48 +0000 (22:10 +0100)
committerPaul Donald <[email protected]>
Wed, 5 Nov 2025 21:11:17 +0000 (22:11 +0100)
commit89b55a7ae09796d360c64fb930189d0af74ce813
treed4af7cccbce7939cdc20391f519d777b85266245
parentfee454af18f98b78f50e40a508daaf396f1b2de7
luci-base: shell quote package name variable to prevent command injection

Do not export the function for use elsewhere - it shall only be used within
the luci script (to determine netifd version).

Signed-off-by: Paul Donald <[email protected]>
modules/luci-base/root/usr/share/rpcd/ucode/luci