LuCI - OpenWrt Configuration Interface
Find a file
Jo-Philipp Wich 0dd0114a9d luci-base: fix empty reply format in ubus gateway fallback code
The ubus gateway fallback code incorrectly formatted ubus replies
containing no payload data when forwarding them via HTTP, leading
to `TypeError: Unexpected reply data format` errors in at least
the `luci.fs` class when receiving replies without payload.

Fix this issue by ensuring that the result array never contains
a `null` value for the payload, send an one-element array containing
just the status code in this case instead.

Fixes: #6074
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-11-03 11:27:52 +01:00
.github Merge pull request #5567 from TDT-AG/pr/20211202-github-issue-templates 2022-01-13 10:34:10 +01:00
applications luci-app-openvpn: add possibility to set param "compress" without algorithm 2022-11-03 09:47:22 +01:00
build build: i18n-scan.pl: add support for ucode sources and templates 2022-10-25 01:03:37 +02:00
collections luci-ssl-nginx: drop libiwinfo-lua dependency 2022-10-26 23:41:33 +02:00
contrib/package contrib: introduce ucode-mod-html 2022-10-25 01:03:36 +02:00
docs CI: automatically update jsapi docs 2021-10-08 17:16:04 -10:00
libs treewide: add explicit Lua runtime dependencies where needed 2022-10-25 01:03:37 +02:00
modules luci-base: fix empty reply format in ubus gateway fallback code 2022-11-03 11:27:52 +01:00
protocols treewide: add explicit Lua runtime dependencies where needed 2022-10-25 01:03:37 +02:00
themes luci-theme-material: fix location of template files 2022-10-27 11:14:52 +02:00
.gitignore .gitignore: adjust paths for autogenerated plural_formula sources 2022-10-25 13:26:56 +02:00
CONTRIBUTING.md CONTRIBUTING.md: Fix sign_your_work link. 2020-03-01 14:33:20 -08:00
jsdoc.conf.json docs: various updates 2019-11-07 12:39:24 +01:00
LICENSE * new project: ff-luci - Freifunk Lua Configuration Interface 2008-03-02 21:52:58 +00:00
luci.mk luci.mk: fix compatibility with GNU Make 4.2 2022-10-25 12:20:22 +02:00
NOTICE Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
package.json CI: automatically update jsapi docs 2021-10-08 17:16:04 -10:00
README.md docs: various updates 2019-11-07 12:39:24 +01:00

OpenWrt luci feed

Translation status

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

API Reference

You can browse the generated API documentation directly on Github.

Development

Documentation for developing and extending LuCI can be found in the Wiki

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

Translation status

Translation status