You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/repository/files
wxiaoguang 22eeede885
Do not "guess" the file encoding/BOM when using API to upload files (#25828)
Related issue: #18368

It doesn't seem right to "guess" the file encoding/BOM when using API to
upload files.

The API should save the uploaded content as-is.
2 years ago
..
cherry_pick.go Add context cache as a request level cache (#22294) 2 years ago
commit.go Add context cache as a request level cache (#22294) 2 years ago
content.go Replace `interface{}` with `any` (#25686) 2 years ago
content_test.go Refactor web package and context package (#25298) 2 years ago
diff.go Implement FSFE REUSE for golang files (#21840) 2 years ago
diff_test.go Refactor web package and context package (#25298) 2 years ago
file.go API endpoint for changing/creating/deleting multiple files (#24887) 2 years ago
file_test.go Refactor web package and context package (#25298) 2 years ago
patch.go Sync branches into databases (#22743) 2 years ago
temp_repo.go Refactor git command package to improve security and maintainability (#22678) 2 years ago
tree.go Return empty url for submodule tree entries (#23043) 2 years ago
tree_test.go Refactor web package and context package (#25298) 2 years ago
update.go Do not "guess" the file encoding/BOM when using API to upload files (#25828) 2 years ago
upload.go Allow adding new files to an empty repo (#24164) 2 years ago