luci-base: dispatcher.uc: satisfy auto-created intermediate nodes
authorJo-Philipp Wich <[email protected]>
Mon, 21 Aug 2023 07:24:32 +0000 (09:24 +0200)
committerJo-Philipp Wich <[email protected]>
Mon, 21 Aug 2023 14:40:05 +0000 (16:40 +0200)
commit4e4e504f3ddacfb5ab42cf602485f7e22997498e
tree64526b7baa2e1bc73504617c06247894c3d82386
parentef54edad4bc24c207450094b33d6b2ddd83c277c
luci-base: dispatcher.uc: satisfy auto-created intermediate nodes

When we auto-create intermediate parent nodes, make sure that those nodes
are marked as satisfied, so that it is possible to dispatch their actual
child nodes.

This aligns the behavior with the old Lua based dispatcher implementation.

Fixes: #6529
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit ec8cf9e83cd4e4afdf0a00910e057a890600e8a8)
modules/luci-base/ucode/dispatcher.uc