mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 22:20:35 +00:00
7f0c874781
- Backport https://codeberg.org/forgejo/forgejo/pulls/1839
- Consider executable files as a valid case when returning a downloadURL
for them. They are just regular files with the difference being the
executable permission bit being set.
- Not integration testing as it's not possible without adding adjusting
the existing repositories to have a executable file.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1825
(cherry picked from commit
|
||
---|---|---|
.. | ||
cherry_pick.go | ||
commit.go | ||
content.go | ||
content_test.go | ||
diff.go | ||
diff_test.go | ||
file.go | ||
file_test.go | ||
patch.go | ||
temp_repo.go | ||
tree.go | ||
tree_test.go | ||
update.go | ||
upload.go |