diff options
author | Andrew Dolgov <[email protected]> | 2006-05-19 04:10:58 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-05-19 04:10:58 +0100 |
commit | 605f7d463dc68eccc02c77f989302d7b9035b456 (patch) | |
tree | fab10dabb99f901cd9a1444195220e6ca731a1f1 /tt-rss.js | |
parent | caa53a7cb1fb1a52daf561209ea4aaceb4578bfc (diff) |
fix url checking, param sanitizing in feed & cat editors, fix browser_has_opacity()
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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..."); |