1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
KN4CK3R a9ca4b4100
Calculate filename hash only once (#19654)
* Calculate hash only once.

* remove unused Sha1 template helper function, use ctx.Data["FileNameHash"]

* fix unit tests
2022-05-09 00:29:50 +02:00
..
2022-01-20 18:46:10 +01:00
2022-05-06 10:12:30 +01:00
2022-04-01 02:15:46 +02:00
2022-05-04 14:56:20 +03:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2020-10-02 23:37:53 -04:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-19 19:31:39 -05:00
2022-01-20 18:46:10 +01:00
2022-04-19 12:55:35 -04:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-03-30 16:42:47 +08:00
2022-01-20 18:46:10 +01:00
2021-12-20 04:41:31 +00:00
2020-04-05 07:20:50 +01:00
2022-04-25 13:55:12 +08:00