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.
forgejo/modules/repository
zeripath 4c6ac08182
Completely quote AppPath and CustomConf paths (#12955)
* Completely quote AppPath and CustomConf paths

Properly handle spaces in AppPath and CustomConf within hooks and
authorized_keys. Unfortunately here we don't seem to be able to get away
with using go-shellquote as it appears that Windows doesn't play too
well with singlequote quoting - therefore we will avoid singlequote
quoting unless we absolutely cannot get away without it, e.g. \n or !.

Fix #10813

Signed-off-by: Andrew Thornton <art27@cantab.net>

* missing change

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix Test_CmdKeys

Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
..
adopt.go Adopt repositories (#12920) 4 years ago
branch.go Handle more pathological branch and tag names (#11843) 4 years ago
check.go Refactor Cron and merge dashboard tasks (#10745) 4 years ago
commits.go make avatar lookup occur at image request (#10540) 4 years ago
commits_test.go make avatar lookup occur at image request (#10540) 4 years ago
create.go Add IsTemplate option in create repo ui and api (#12942) 4 years ago
create_test.go Various fixes in login sources (#10428) 4 years ago
fork.go Adopt repositories (#12920) 4 years ago
fork_test.go Move create/fork repository from models to modules/repository (#9489) 5 years ago
generate.go Adopt repositories (#12920) 4 years ago
hooks.go Completely quote AppPath and CustomConf paths (#12955) 4 years ago
init.go Adopt repositories (#12920) 4 years ago
main_test.go Move push commits from models to modules/repository (#9370) 5 years ago
repo.go On Migration respect old DefaultBranch (#12843) 4 years ago
update.go Move PushUpdateAddDeleteTags to repository module from models (#10106) 4 years ago