forked from gitea/gitea
1
0
Fork 0
gitea/services/repository/files
zeripath 6b0a71230d
Stop trimming preceding and suffixing spaces from editor filenames (#18334)
* Stop trimming preceding and suffixing spaces from editor filenames

In #5702 it was decided to trim preceding and suffixed spaces aswell as / from
editing file filenames. This was because at this point in time the url-safety of
Gitea was much poorer.

We can now drop this requirement and file editing should work correctly.

Fix #18176

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-01-19 21:03:15 +00:00
..
commit.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
content.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
content_test.go Move repofiles from modules/repofiles to services/repository/files (#17774) 2021-11-24 15:56:24 +08:00
delete.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
diff.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
diff_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
file.go Stop trimming preceding and suffixing spaces from editor filenames (#18334) 2022-01-19 21:03:15 +00:00
file_test.go Move repofiles from modules/repofiles to services/repository/files (#17774) 2021-11-24 15:56:24 +08:00
temp_repo.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
tree.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
tree_test.go Move repofiles from modules/repofiles to services/repository/files (#17774) 2021-11-24 15:56:24 +08:00
update.go Correctly upload LFS files (#18316) 2022-01-18 07:44:30 +00:00
upload.go Correctly upload LFS files (#18316) 2022-01-18 07:44:30 +00:00