ui.waitReconnect() may load over HTTP instead of HTTPS

Jo-Philipp Wich jo at mein.io
Wed Dec 28 16:27:58 PST 2022


Hi,

ui.awaitReconnect() tries both http:// and https:// access simultaneously and
redirects to whatever URL loads successfully.

HTTPS access might be unavailable, e.g. when flashing an image without SSL
support built in. This used to be the norm before OpenWrt enabled HTTPS by
default in 22.03.

So this probing of an http:// URL from within a page that was loaded via
https:// is intentional.

~ Jo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20221229/18099d7e/attachment.sig>


More information about the openwrt-devel mailing list