luci-proto-openconnect: fix server url validation
authorJo-Philipp Wich <jo@mein.io>
Tue, 7 Feb 2023 10:52:17 +0000 (11:52 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 7 Feb 2023 10:53:31 +0000 (11:53 +0100)
commitf1312cadc6675fb29d02425775dd8a2a533d7e7c
treedf25b11b8ef0b02a0df8a0c3134d1a0788f3050d
parent1597d8e555cfe7444bcbcb44d45caf6954b61b3e
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 <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/ui.js
protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js