1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-20 01:45:59 -04:00
gitea/routers
wxiaoguang 1fede04b83
Refactor CSRF protector (#32057)
Remove unused CSRF options, decouple "new csrf protector" and "prepare"
logic, do not redirect to home page if CSRF validation falis (it
shouldn't happen in daily usage, if it happens, redirecting to home
doesn't help either but just makes the problem more complex for "fetch")
2024-09-18 15:17:25 +08:00
..
api Check if the due_date is nil when editing issues (#32035) 2024-09-14 12:40:36 -04:00
common Refactor route path normalization (#31381) 2024-06-17 23:28:47 +00:00
install Save initial signup information for users to aid in spam prevention (#31852) 2024-09-09 17:05:16 -04:00
private Fix protected branch files detection on pre_receive hook (#31778) 2024-08-06 13:32:49 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Refactor CSRF protector (#32057) 2024-09-18 15:17:25 +08:00
init.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00