luci/modules/luci-base/luasrc
Jo-Philipp Wich 7b04d0bbcf luci-base: introduce luci.dispatcher.lookup()
The lookup function takes multiple, possibly malformed path fragments,
splits them on slashes, constructs a temporary path and looks up the
result in the dispatch tree.

If a matching node has been found, the function will return both the
node reference and the canonical url to it.

If no corresponding node is found, the function returns nil.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-05 23:03:01 +02:00
..
cbi luci-base: add a strict flag to the hostname validator 2018-04-04 23:21:53 +02:00
controller/admin luci-base: switch to POST action for service reload 2015-10-06 22:37:27 +02:00
http luci-base: fix documentation spelling mistakes in luci.http.protocol 2018-03-12 16:04:52 +01:00
model Merge pull request #1709 from dibdot/get_interface-fix 2018-04-05 09:49:49 +02:00
sgi Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
sys timezone data: update to 2018c 2018-02-02 18:21:58 +02:00
tools treewide: filter shell arguments through shellquote() where applicable 2018-04-05 09:37:43 +02:00
view luci-base: use FULL_REQUEST_URI on login form templates 2018-04-04 23:30:49 +02:00
cacheloader.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
cbi.lua luci-base: fix initialization of MultiValue options 2016-01-23 17:34:53 +01:00
ccache.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
config.lua Globally reduce copyright headers 2015-01-16 23:38:38 +01:00
debug.lua Rework LuCI build system 2015-01-08 16:26:20 +01:00
dispatcher.lua luci-base: introduce luci.dispatcher.lookup() 2018-04-05 23:03:01 +02:00
dispatcher.luadoc luci-base: introduce luci.dispatcher.lookup() 2018-04-05 23:03:01 +02:00
http.lua http: add random security headers 2017-09-02 17:45:37 +02:00
http.luadoc Fix module lines in several luadoc files 2015-09-01 16:43:19 +02:00
i18n.lua Move inline documentation into separate files. 2015-01-29 16:26:46 +01:00
i18n.luadoc Move inline documentation into separate files. 2015-01-29 16:26:46 +01:00
ltn12.lua Move inline documentation into separate files. 2015-01-29 16:26:46 +01:00
store.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
sys.lua treewide: filter shell arguments through shellquote() where applicable 2018-04-05 09:37:43 +02:00
sys.luadoc luci-base: add luci.sys.net.host_hints() and regenerate documentation 2016-01-20 16:56:25 +01:00
template.lua Globally reduce copyright headers 2015-01-16 23:38:38 +01:00
util.lua luci-base: introduce luci.util.shellquote() 2018-04-05 09:37:43 +02:00
util.luadoc luci-base: introduce luci.util.shellquote() 2018-04-05 09:37:43 +02:00
version.lua Globally reduce copyright headers 2015-01-16 23:38:38 +01:00