diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-11-09 20:37:54 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-11-09 20:37:54 +0100 |
commit | fd7427c4e50564c2428377259f988df4ed785733 (patch) | |
tree | 0fa97aa80dea538f0047c749ee42db23b5b01ef2 /applications/luci-app-clamav/luasrc | |
parent | bdfdd95a273f6fc73017795805dcfe6ee1ae8a8e (diff) |
luci-lua-runtime: also search luci.dispatcher scope when looking up values
Some legacy templates access dispatcher functions such as `build_url()`
without explicit scope, which worked in the old runtime since the template
view namespace was instantiated from the dispatcher.
Ensure that this continues to function in the emulated runtime.
Fixes: #6082
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-clamav/luasrc')
0 files changed, 0 insertions, 0 deletions