diff options
author | Dirk Brenken <dev@brenken.org> | 2023-05-06 23:01:02 +0200 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2023-05-06 23:01:02 +0200 |
commit | 7b75148fe5c786ff7b368c80f8808cb070712db5 (patch) | |
tree | 79895e6b43774fe610fda68bb7ae3f0f6f6b0567 /applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js | |
parent | 3eb0ed640faec85786fb1a7b08a05083fbc49913 (diff) |
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 <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js')
-rw-r--r-- | applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js | 4 |
1 files changed, 2 insertions, 2 deletions
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; |