akkoma/priv/gettext
@r3g_5z@plem.sapphic.site 0e4c201f8d HTTP header improvements (#294)
- Drop Expect-CT

Expect-CT has been redundant since 2018 when Certificate Transparency became mandated and required for all CAs and browsers. This header is only implemented in Chrome and is now deprecated. HTTP header analysers do not check this anymore as this is enforced by default. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT

- Raise HSTS to 2 years and explicitly preload

The longer age for HSTS, the better. Header analysers prefer 2 years over 1 year now as free TLS is very common using Let's Encrypt.
For HSTS to be fully effective, you need to submit your root domain (domain.tld) to https://hstspreload.org. However, a requirement for this is the "preload" directive in Strict-Transport-Security. If you do not have "preload", it will reject your domain.

- Drop X-Download-Options

This is an IE8-era header when Adobe products used to use the IE engine for making outbound web requests to embed webpages in things like Adobe Acrobat (PDFs). Modern apps are using Microsoft Edge WebView2 or Chromium Embedded Framework. No modern browser checks or header analyser check for this.

- Set base-uri to 'none'

This is to specify the domain for relative links (`<base>` HTML tag). pleroma-fe does not use this and it's an incredibly niche tag.

I use all of these myself on my instance by rewriting the headers with zero problems. No breakage observed.

I have not compiled my Elixr changes, but I don't see why they'd break.

Co-authored-by: r3g_5z <june@terezi.dev>
Reviewed-on: AkkomaGang/akkoma#294
Co-authored-by: @r3g_5z@plem.sapphic.site <june@terezi.dev>
Co-committed-by: @r3g_5z@plem.sapphic.site <june@terezi.dev>
2022-11-20 21:20:06 +00:00
..
ca/LC_MESSAGES HTTP header improvements (#294) 2022-11-20 21:20:06 +00:00
en/LC_MESSAGES Apply 1 suggestion(s) to 1 file(s) 2020-11-18 05:19:37 +00:00
en_test/LC_MESSAGES Support fallbacking to other languages 2022-06-29 20:47:10 +01:00
es/LC_MESSAGES HTTP header improvements (#294) 2022-11-20 21:20:06 +00:00
fr/LC_MESSAGES Translated using Weblate (French) 2020-05-13 13:38:40 +00:00
he/LC_MESSAGES Translated using Weblate (Hebrew) 2020-11-21 18:12:07 +00:00
id/LC_MESSAGES Translated using Weblate (Indonesian) 2021-10-06 06:12:17 +00:00
it/LC_MESSAGES Translated using Weblate (Italian) 2021-03-13 09:40:56 +00:00
ja/LC_MESSAGES Translated using Weblate (Japanese) 2021-10-06 06:12:17 +00:00
nl/LC_MESSAGES HTTP header improvements (#294) 2022-11-20 21:20:06 +00:00
pl/LC_MESSAGES Translated using Weblate (Polish) 2021-10-06 06:12:17 +00:00
pt_PT/LC_MESSAGES Translated using Weblate (Portuguese (Portugal)) 2021-01-18 21:19:25 +00:00
ru/LC_MESSAGES Add Russian translation 2019-07-10 18:10:09 +07:00
uk/LC_MESSAGES Translated using Weblate (Ukrainian) 2020-12-11 00:56:57 +00:00
vi/LC_MESSAGES Translated using Weblate (Vietnamese) 2021-10-06 06:12:17 +00:00
zh_Hans/LC_MESSAGES Translated using Weblate (Chinese (Simplified)) 2020-12-15 11:33:10 +00:00
zh_Hant/LC_MESSAGES Translated using Weblate (Chinese (Traditional)) 2021-05-30 17:43:00 +00:00
config_descriptions.pot HTTP header improvements (#294) 2022-11-20 21:20:06 +00:00
default.pot backend-i18n (#121) 2022-07-27 21:56:59 +00:00
errors.pot backend-i18n (#121) 2022-07-27 21:56:59 +00:00
posix_errors.pot Extract translatable text 2022-06-29 20:44:16 +01:00
static_pages.pot backend-i18n (#121) 2022-07-27 21:56:59 +00:00