mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 03:51:28 +00:00
fix url checking, param sanitizing in feed & cat editors, fix browser_has_opacity()
This commit is contained in:
@@ -538,8 +538,7 @@ function qafAdd() {
|
||||
|
||||
if (link.value.length == 0) {
|
||||
alert("Error: No feed URL given.");
|
||||
} else if (link.value.match("http://") == null &&
|
||||
link.value.match("https://") == null) {
|
||||
} else if (!isValidURL(link.value)) {
|
||||
alert("Error: Invalid feed URL.");
|
||||
} else {
|
||||
notify("Adding feed...");
|
||||
|
||||
Reference in New Issue
Block a user