forgejo/modules/setting
wxiaoguang 013fb73068
Use hostmatcher to replace matchlist, improve security (#17605)
Use hostmacher to replace matchlist.

And we introduce a better DialContext to do a full host/IP check, otherwise the attackers can still bypass the allow/block list by a 302 redirection.
2021-11-20 17:34:05 +08:00
..
attachment.go
cache.go
cors.go
cron.go
cron_test.go
database.go
database_sqlite.go
database_test.go
federation.go
git.go
indexer.go
indexer_test.go
lfs.go
log.go
mailer.go Add settings to allow different SMTP envelope from address (#17479) 2021-11-19 23:35:20 +08:00
markup.go
migrations.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
mime_type_map.go
mirror.go
oauth2_client.go
picture.go
project.go
proxy.go
queue.go
repository.go
service.go
session.go
setting.go Make SSL cipher suite configurable (#17440) 2021-11-20 01:12:43 -05:00
setting_test.go
storage.go
storage_test.go
task.go
webhook.go Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00