gitea/modules/setting
zeripath 9c2b7a196e
Disable core.protectNTFS (#17300) (#17302)
Backport #17300

core.protectNTFS protects NTFS from files which may be difficult to remove or interact
with using the win32 api, however, it also appears to prevent such files from
being entered into the git indexes - fundamentally causing breakages with PRs that
affect these files. However, deliberately setting this to false may cause security
issues due to the remain sparse checkout of files in the merge pipeline.

The only sensible option therefore is to provide an optional setting which admins
could set which would forcibly switch this off if they are affected by this issue.

Fix #17092

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-10-13 23:02:45 +03:00
..
attachment.go
cache.go Add LRU mem cache implementation (#16226) 2021-07-10 23:54:15 +02:00
cors.go
cron_test.go
cron.go
database_sqlite.go
database_test.go
database.go
git.go Disable core.protectNTFS (#17300) (#17302) 2021-10-13 23:02:45 +03:00
indexer_test.go
indexer.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
lfs.go Let package git depend on setting but not opposite (#15241) 2021-06-26 13:28:55 +02:00
log.go add a new internal hook to save ssh log (#15787) 2021-05-21 17:37:16 -04:00
mailer.go
markup.go Add sanitizer rules per renderer (#16110) 2021-06-23 17:09:51 -04:00
migrations.go
mime_type_map.go Add mimetype mapping settings (#15133) 2021-05-10 16:38:08 -04:00
oauth2_client.go OAuth2 login: Set account link to "login" as default behavior (#15768) 2021-05-07 16:15:16 +02:00
picture.go add /assets as root dir of public files (#15219) 2021-04-28 12:35:06 +00:00
project.go
queue.go Clean-up the settings hierarchy for issue_indexer queue (#16001) 2021-06-16 18:19:20 -04:00
repository.go Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
service.go Make allowed Visiblity modes configurable for Users (#16271) 2021-06-27 19:47:35 +01:00
session.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
setting_test.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
setting.go Add forge emojies (#16296) 2021-07-02 16:04:57 +02:00
storage_test.go
storage.go Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
task.go
webhook.go