Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-02 23:06:11 +01:00
forgejo/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.
2023-07-12 09:58:27 +00:00
..
cherry_pick.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
commit.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
content.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
content_test.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
diff.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
diff_test.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
file.go API endpoint for changing/creating/deleting multiple files (#24887) 2023-05-29 17:41:35 +08:00
file_test.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
patch.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
temp_repo.go Refactor git command package to improve security and maintainability (#22678) 2023-02-04 10:30:43 +08:00
tree.go Return empty url for submodule tree entries (#23043) 2023-02-21 12:31:17 -05:00
tree_test.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
update.go Do not "guess" the file encoding/BOM when using API to upload files (#25828) 2023-07-12 09:58:27 +00:00
upload.go Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00