diff options
author | zeripath <art27@cantab.net> | 2022-04-20 20:53:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 20:53:34 +0200 |
commit | 1e319ba41a3d5362d253fca540b13b2ee92124c8 (patch) | |
tree | a05ea4f88de381933295ad1611bbfe474cfd9ae3 /routers/api/v1/user | |
parent | Add uploadpack.allowAnySHA1InWant to allow --filter=blob:none with older git ... (diff) | |
download | forgejo-1e319ba41a3d5362d253fca540b13b2ee92124c8.tar.xz forgejo-1e319ba41a3d5362d253fca540b13b2ee92124c8.zip |
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>
Diffstat (limited to 'routers/api/v1/user')
0 files changed, 0 insertions, 0 deletions