1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-03 17:21:26 +02:00
gitea/modules
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>
2020-09-28 21:16:52 -04:00
..
analyze
auth Add IsTemplate option in create repo ui and api (#12942) 2020-09-25 13:18:37 +08:00
avatar
base Use a simple format for the big number on ui (#12822) 2020-09-16 00:07:18 -04:00
cache Allow common redis and leveldb connections (#12385) 2020-09-28 00:09:46 +03:00
charset
context Add configurable Trust Models (#11712) 2020-09-20 00:44:55 +08:00
convert Refactor: move Commit To APIFormat Code & Lot of StopWatch related things (#12729) 2020-09-18 20:09:26 +08:00
cron
emoji
eventsource
generate
git Adopt repositories (#12920) 2020-09-25 07:09:23 +03:00
gitgraph
graceful
highlight
httplib
indexer fix: use Base36 for all code indexers (#12830) 2020-09-14 13:40:07 +03:00
lfs LFS support to be stored on minio (#12518) 2020-09-08 23:45:10 +08:00
log
markup Fix markdown meta parsing (#12817) 2020-09-12 21:48:47 -04:00
metrics
migrations Hopefully support GH enterprise (#12863) 2020-09-21 10:36:51 -04:00
nosql Allow common redis and leveldb connections (#12385) 2020-09-28 00:09:46 +03:00
notification Fix panic when adding long comment (#12892) 2020-09-18 13:50:06 -04:00
options
password Check passwords against HaveIBeenPwned (#12716) 2020-09-08 17:06:39 -05:00
pprof
private
process
public
queue Fix the issue reported on #12385 (#12969) 2020-09-28 19:00:54 -04:00
recaptcha
references
repofiles Add configurable Trust Models (#11712) 2020-09-20 00:44:55 +08:00
repository Completely quote AppPath and CustomConf paths (#12955) 2020-09-28 21:16:52 -04:00
secret
session Allow common redis and leveldb connections (#12385) 2020-09-28 00:09:46 +03:00
setting Add config option to make create-on-push repositories public by default (#12936) 2020-09-27 15:20:52 -04:00
ssh
storage LFS support to be stored on minio (#12518) 2020-09-08 23:45:10 +08:00
structs Add IsTemplate option in create repo ui and api (#12942) 2020-09-25 13:18:37 +08:00
svg
sync
task [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
templates Use a simple format for the big number on ui (#12822) 2020-09-16 00:07:18 -04:00
test
timeutil
upload
user
util Completely quote AppPath and CustomConf paths (#12955) 2020-09-28 21:16:52 -04:00
validation
webhook