[FS#4121] uhttpd: checked and used certificate are different in uhttpd.init
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Mon Nov 8 08:27:28 PST 2021
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#4121 - uhttpd: checked and used certificate are different in uhttpd.init
User who did this - Jan Breuer (j123b567)
----------
Default values are not present anywhere else so
login screen from luci `/usr/lib/lua/luci/view/sysauth.htm` is also failing on
local https_key = uci:get("uhttpd", "main", "key")
...
if https_port and fs.access(https_key) then
https_port = https_port:match("(%d+)$")
with error message, that `access` need string not nil.
So answering myself. Removing default values from `config_get` in init script is probably the best solution for everything.
----------
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=4121#comment10277
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs
mailing list