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.
gitea/modules/setting
wxiaoguang 998cea5888
Use secure cookie for HTTPS sites (#26999)
If the AppURL(ROOT_URL) is an HTTPS URL, then the COOKIE_SECURE's
default value should be true.

And, if a user visits an "http" site with "https" AppURL, they won't be
able to login, and they should have been warned. The only problem is
that the "language" can't be set either in such case, while I think it
is not a serious problem, and it could be fixed easily if needed.

![image](https://github.com/go-gitea/gitea/assets/2114189/7bc9a859-dcc1-467d-bc7c-1dd6a10389e3)
1 year ago
..
actions.go Artifacts retention and auto clean up (#26131) 1 year ago
actions_test.go
admin.go
api.go
asset_dynamic.go
asset_static.go
attachment.go
attachment_test.go
cache.go
camo.go
config_env.go Remove last newline from config file (#26468) 2 years ago
config_env_test.go Remove last newline from config file (#26468) 2 years ago
config_provider.go Fix INI parsing for value with trailing slash (#26995) 1 year ago
config_provider_test.go Fix INI parsing for value with trailing slash (#26995) 1 year ago
cors.go
cron.go
cron_test.go
database.go
database_sqlite.go
database_test.go
federation.go
git.go
git_test.go
highlight.go
i18n.go
incoming_email.go
indexer.go
indexer_test.go
lfs.go Handle base64 decoding correctly to avoid panic (#26483) 2 years ago
lfs_test.go
log.go Clarify the logger's MODE config option (#26267) 2 years ago
log_test.go
mailer.go
mailer_test.go
markup.go
metrics.go
migrations.go
mime_type_map.go
mirror.go
oauth2.go Handle base64 decoding correctly to avoid panic (#26483) 2 years ago
other.go
packages.go
packages_test.go
path.go
path_test.go
picture.go
project.go
proxy.go
queue.go Calculate MAX_WORKERS default value by CPU number (#26177) 2 years ago
repository.go
repository_archive.go
repository_archive_test.go
security.go Update minimum password length requirements (#25946) 1 year ago
server.go
service.go Add reverseproxy auth for API back with default disabled (#26703) 1 year ago
service_test.go Fix allowed user types setting problem (#26200) 2 years ago
session.go Use secure cookie for HTTPS sites (#26999) 1 year ago
setting.go
setting_test.go
ssh.go Expanded minimum RSA Keylength to 3072 (#26604) 1 year ago
storage.go Fix storage path logic especially for relative paths (#26441) 2 years ago
storage_test.go Fix storage path logic especially for relative paths (#26441) 2 years ago
task.go
time.go
ui.go
webhook.go