luci-proto-openconnect: fix server url validation
authorJo-Philipp Wich <[email protected]>
Tue, 7 Feb 2023 10:52:17 +0000 (11:52 +0100)
committerJo-Philipp Wich <[email protected]>
Wed, 8 Feb 2023 07:57:24 +0000 (08:57 +0100)
commitb200e0e90fdfb294cd31870eb32b6b362ded3733
tree7b2451167a8a12a205df5dfa2f4cfdd90405a967
parent41e9b8d1219a949a0a3105eabec3774dc97f65c2
luci-proto-openconnect: fix server url validation

The OpenConnect configuration form incorrectly assumed that the server
setting must be hostname while it actually may be a full URL.

Fixes: #6184
Signed-off-by: Jo-Philipp Wich <[email protected]>
protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js