treewide: improve handling of page redirections in uci change views
authorJo-Philipp Wich <jo@mein.io>
Thu, 5 Apr 2018 20:37:37 +0000 (22:37 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 5 Apr 2018 21:03:01 +0000 (23:03 +0200)
Instead of passing the full LuCI request url, pass the relative resolved
request path instead and filter the received value through the lookup()
dispatcher function to only allow paths to actual internal pages.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

No differences found