forgejo/docs/content
wxiaoguang 8f6d442a04
Use secure cookie for HTTPS sites (#26999) (#27013)
Backport #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.

(cherry picked from commit b0a405c5fa)
2023-09-20 12:50:46 +02:00
..
administration Use secure cookie for HTTPS sites (#26999) (#27013) 2023-09-20 12:50:46 +02:00
contributing Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
development Remove "misc" scope check from public API endpoints (#26134) (#26149) 2023-07-26 13:51:46 +02:00
help Add matrix to support (#26382) (#26722) 2023-09-08 08:07:19 +02:00
installation Fix Page Not Found error (#26768) 2023-09-08 08:07:19 +02:00
usage Improve LDAP group config documentation (#21227) (#26921) 2023-09-08 08:10:08 +02:00
actions.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
administration.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
administration.fr-fr.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
administration.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
administration.zh-tw.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
contributing.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
contributing.fr-fr.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
contributing.zh-tw.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
development.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
development.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
development.zh-tw.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
help.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
help.fr-fr.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
help.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
help.zh-tw.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
index.de-de.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
index.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
index.fr-fr.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
index.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
index.zh-tw.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
installation.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
installation.fr-fr.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
installation.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
installation.zh-tw.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
packages.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
search.de-de.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
search.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
search.fr-fr.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
search.nl-nl.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
search.pt-br.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
search.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
search.zh-tw.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
usage.en-us.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
usage.zh-cn.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00
usage.zh-tw.md Docusaurus-ify 1.20 (#26052) 2023-07-26 13:49:16 +02:00