luci/modules
Jo-Philipp Wich 79383f5a74 luci-base: ensure that base url is emitted with trailing slash
Now that we don't have an url token anymore, '/cgi-bin/luci' becomes a valid
url while cookies are restricted to only '/cgi-bin/luci/' and below.

In order to ensure that the first request after login refers to a path
covered by the authentication cookie, change build_url() to always append
a trailing slash if we're referring to the base url.

This should fix the login problems mentioned in #516.

While we're touching the dispatcher, also remove remaining url token code.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-21 16:48:25 +02:00
..
luci-base luci-base: ensure that base url is emitted with trailing slash 2015-10-21 16:48:25 +02:00
luci-mod-admin-full luci-mod-admin-full: do not access dispatcher.context.urltoken in logout 2015-10-21 16:43:07 +02:00
luci-mod-admin-mini Globally convert headline anchors into name attributes. 2015-10-06 13:30:33 +02:00
luci-mod-failsafe Globally convert headline anchors into name attributes. 2015-10-06 13:30:33 +02:00
luci-mod-freifunk Globally replace luci.dispatcher.build_url(...) with url(...) invocations 2015-10-07 19:07:36 +02:00
luci-mod-freifunk-community Rework LuCI build system 2015-01-08 16:26:20 +01:00
luci-mod-rpc modules/luci-mod-rpc: fix attempt to index global 'luci' (a nil value) 2015-09-12 15:11:18 +06:00