summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-udpxy
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-05-05 19:51:20 +0200
committerJo-Philipp Wich <jo@mein.io>2018-05-05 19:56:26 +0200
commit6a1cdca34518fac1ca4ee2f77dad6ff60062bda5 (patch)
treea51b1f88575eed7c836e2cdd67c5404f84f9e966 /applications/luci-app-udpxy
parent9664fb3d81ac67f4045c9dfd1489e86a4305c6fc (diff)
luci-mod-rpc: fix authentication via query string parameter
Localize the `authenticatior()` and `session_retrieve()` functions into the `index()` function scope so that they're retained when extracting the function into the dispatcher bytecode cache. Also allow access to the global scope since upvalues do not work reliably due to the out-of-context byte code caching of index functions. Fixes https://github.com/openwrt/luci/issues/1300#issuecomment-381352765 Fixes feefc600e ("luci-mod-rpc: rework authentication and session handling") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-udpxy')
0 files changed, 0 insertions, 0 deletions