mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-14 13:02:08 +00:00
455a402c8a
- Directives are now separated with ";" instead of " ;", according to https://www.w3.org/TR/CSP2/#policy-parsing the space is optional - Use an IO list, which at the end gets converted to a binary as opposed to ++ing a bunch of arrays with binaries together and joining them to a string. I doubt it gives any significant real world advantage, but the code is cleaner and now I can sleep at night. - The static part of csp is pre-joined to a single binary at compile time. Same reasoning as the last point. |
||
---|---|---|
.. | ||
admin_secret_authentication_plug_test.exs | ||
authentication_plug_test.exs | ||
basic_auth_decoder_plug_test.exs | ||
cache_control_test.exs | ||
cache_test.exs | ||
ensure_authenticated_plug_test.exs | ||
ensure_public_or_authenticated_plug_test.exs | ||
ensure_user_key_plug_test.exs | ||
http_security_plug_test.exs | ||
http_signature_plug_test.exs | ||
idempotency_plug_test.exs | ||
instance_static_test.exs | ||
legacy_authentication_plug_test.exs | ||
mapped_identity_to_signature_plug_test.exs | ||
oauth_plug_test.exs | ||
oauth_scopes_plug_test.exs | ||
rate_limiter_test.exs | ||
remote_ip_test.exs | ||
session_authentication_plug_test.exs | ||
set_format_plug_test.exs | ||
set_locale_plug_test.exs | ||
set_user_session_id_plug_test.exs | ||
uploaded_media_plug_test.exs | ||
user_enabled_plug_test.exs | ||
user_fetcher_plug_test.exs | ||
user_is_admin_plug_test.exs |