]> git.wh0rd.org Git - tt-rss.git/commitdiff
viewfeed: properly escape feed in ajax query
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 12 Jul 2013 10:15:03 +0000 (14:15 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 12 Jul 2013 10:15:03 +0000 (14:15 +0400)
js/feedlist.js

index 222fbcbe06bc8683ddf8c2ccfd9f24cf92d21572..7f60194dc799828a9fc3f279d7acf8d3e0c05586 100644 (file)
@@ -95,7 +95,7 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req, can_w
 
                var toolbar_query = Form.serialize("main_toolbar_form");
 
-               var query = "?op=feeds&method=view&feed=" + feed + "&" +
+               var query = "?op=feeds&method=view&feed=" + param_escape(feed) + "&" +
                        toolbar_query;
 
                if (method) {