Skip to content

Commit

Permalink
Fix global view CSRF
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex committed Sep 23, 2017
1 parent f89e9a0 commit 56d2b26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* Fix API compatibility bug between PostgreSQL and EasyRSS [#1603](https://github.com/FreshRSS/FreshRSS/pull/1603)
* Fix PostgreSQL error when adding entries with duplicated GUID [#1610](https://github.com/FreshRSS/FreshRSS/issues/1610)
* Fix for RSS feeds containing HTML in author field [#1590](https://github.com/FreshRSS/FreshRSS/issues/1590)
* Fix logout issue in global view due to CSRF [#1591](https://github.com/FreshRSS/FreshRSS/issues/1591)
* Misc.
* Travis continuous integration [#1619](https://github.com/FreshRSS/FreshRSS/pull/1619)
* Allow longer database usernames [#1597](https://github.com/FreshRSS/FreshRSS/issues/1597)
Expand Down
3 changes: 3 additions & 0 deletions p/scripts/global_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ function load_panel(link) {
$.ajax({
type: "POST",
url: $(this).attr("formaction"),
data : {
_csrf: context.csrf,
},
async: false
});
window.location.reload(false);
Expand Down

0 comments on commit 56d2b26

Please sign in to comment.