From 7b75148fe5c786ff7b368c80f8808cb070712db5 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Sat, 6 May 2023 23:01:02 +0200 Subject: luci-app-banip: sync with banIP 0.8.5-1 * make new options available * restructure some existing config options * sync translations Signed-off-by: Dirk Brenken --- .../luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js') diff --git a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js index 84384ebad3..267ca410f7 100644 --- a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js +++ b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js @@ -205,7 +205,7 @@ return view.extend({ if (!value) { return true; } - if (!value.match(/^(http:\/\/|https:\/\/)[A-Za-z0-9\/\.\-_\?\&=]+$/)) { + if (!value.match(/^(http:\/\/|https:\/\/)[A-Za-z0-9\/\.\-_\?\&\+=~#]+$/)) { return _('Protocol/URL format not supported'); } return true; @@ -218,7 +218,7 @@ return view.extend({ if (!value) { return true; } - if (!value.match(/^(http:\/\/|https:\/\/)[A-Za-z0-9\/\.\-_\?\&=:]+$/)) { + if (!value.match(/^(http:\/\/|https:\/\/)[A-Za-z0-9\/\.\-_\?\&\+=:~#]+$/)) { return _('Protocol/URL format not supported'); } return true; -- cgit v1.2.3