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
2015-09-01 16:49:19 +02:00
2015-10-02 11:34:12 +02:00
2015-04-20 10:08:23 +02:00
2008-11-19 23:02:36 +00:00

OpenWrt luci feed

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

S
Description
LuCI - OpenWrt Configuration Interface
Readme Apache-2.0
554 MiB
Languages
JavaScript 70.4%
C 12.4%
Lua 5.8%
CSS 3.6%
UnrealScript 3%
Other 4.7%