Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/router
akuma06 38a55e88e9 Fix for csrf (#923)
* Merge remote-tracking branch 'refs/remotes/origin/dev' into fix-for-csrf

Fix CSRF protection

Seems like it doesn't work anymore...
I tried to
fix it but couldn't get /api without csrf. So I changed the
dependency
for another csrf package (nosurf).
Behavior: Same as previously. You
just have to include the block
csrf_token

* changing dependency to nosurf
2017-06-05 11:33:48 +10:00
..
api_handler.go Reduce number of queries, update systemd unit service (#925) 2017-06-05 11:33:02 +10:00
database_dump_handler.go
faq_handler.go
home_handler.go
init.go
modpanel.go Mass edit mod api JS (done) (#868) 2017-06-02 12:51:44 +10:00
not_found_handler.go
publicSettingsHandler.go
router.go Fix for csrf (#923) 2017-06-05 11:33:48 +10:00
rss_handler.go Add web address config (#888) 2017-06-03 11:45:24 +10:00
search_handler.go
template.go
template_functions.go New modpanel fix (#895) 2017-06-04 02:28:33 +02:00
template_test.go Better handle of test files 2017-05-31 10:49:01 +02:00
template_variables.go Fix for csrf (#923) 2017-06-05 11:33:48 +10:00
torrent_report_handler.go
upload.go Reduce size of descriptions 2017-06-04 15:56:36 +10:00
upload_handler.go Reduce number of queries, update systemd unit service (#925) 2017-06-05 11:33:02 +10:00
user_handler.go Fix user logout (#924) 2017-06-05 11:33:16 +10:00
view_torrent_handler.go New config files (#854) 2017-05-30 21:21:57 -05:00
wrap_handler.go