mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 18:49:15 +00:00
0e4c201f8d
- 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: https://akkoma.dev/AkkomaGang/akkoma/pulls/294 Co-authored-by: @r3g_5z@plem.sapphic.site <june@terezi.dev> Co-committed-by: @r3g_5z@plem.sapphic.site <june@terezi.dev> |
||
---|---|---|
.. | ||
activity/ir | ||
akkoma | ||
collections | ||
config | ||
conversation | ||
docs | ||
ecto_type/activity_pub/object_validators | ||
emails | ||
emoji | ||
http | ||
instances | ||
integration | ||
mfa | ||
migration_helper | ||
object | ||
password | ||
repo/migrations | ||
search | ||
translators | ||
upload | ||
uploaders | ||
user | ||
web | ||
workers | ||
activity_test.exs | ||
announcement_read_relationship_test.exs | ||
announcement_test.exs | ||
application_requirements_test.exs | ||
bookmark_test.exs | ||
captcha_test.exs | ||
config_db_test.exs | ||
config_test.exs | ||
conversation_test.exs | ||
emoji_test.exs | ||
filter_test.exs | ||
following_relationship_test.exs | ||
formatter_test.exs | ||
frontend_test.exs | ||
hashtag_test.exs | ||
healthcheck_test.exs | ||
html_test.exs | ||
http_test.exs | ||
instances_test.exs | ||
job_queue_monitor_test.exs | ||
keys_test.exs | ||
list_test.exs | ||
marker_test.exs | ||
mfa_test.exs | ||
moderation_log_test.exs | ||
notification_test.exs | ||
object_test.exs | ||
otp_version_test.exs | ||
pagination_test.exs | ||
registration_test.exs | ||
repo_test.exs | ||
report_note_test.exs | ||
reverse_proxy_test.exs | ||
runtime_test.exs | ||
safe_jsonb_set_test.exs | ||
scheduled_activity_test.exs | ||
signature_test.exs | ||
stats_test.exs | ||
upload_test.exs | ||
user_invite_token_test.exs | ||
user_relationship_test.exs | ||
user_search_test.exs | ||
user_test.exs | ||
utils_test.exs | ||
xml_builder_test.exs |