1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
zeripath 1e319ba41a
When dumping trim the standard suffices instead of a random suffix (#19440)
* When dumping trim the standard suffices instead of a random suffix

Instead of using the `path.Ext()` to trim the last "extension" suffix, just iterate
through the supported suffices and trim those.

Fix #19424

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix enum with to have correct supported types only

Co-authored-by: 6543 <6543@obermui.de>
2022-04-20 20:53:34 +02:00
..
2022-01-20 18:46:10 +01:00
2022-03-10 10:11:26 +00:00
2021-11-14 10:11:49 +02:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00