Pleroma/test/plugs
rinpatch 455a402c8a HTTP Security plug: rewrite &csp_string/0
- 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.
2020-05-27 21:31:47 +03:00
..
admin_secret_authentication_plug_test.exs
authentication_plug_test.exs Skip failing `:crypt` test on mac 2020-05-25 23:01:37 +04:00
basic_auth_decoder_plug_test.exs
cache_control_test.exs
cache_test.exs
ensure_authenticated_plug_test.exs Pleroma.Web.TwitterAPI.TwoFactorAuthenticationController -> Pleroma.Web.PleromaAPI.TwoFactorAuthenticationController 2020-05-07 08:14:54 +00:00
ensure_public_or_authenticated_plug_test.exs Automatic checks of authentication / instance publicity. Definition of missing OAuth scopes in AdminAPIController. Refactoring. 2020-04-21 16:29:19 +03:00
ensure_user_key_plug_test.exs
http_security_plug_test.exs HTTP Security plug: rewrite &csp_string/0 2020-05-27 21:31:47 +03:00
http_signature_plug_test.exs
idempotency_plug_test.exs
instance_static_test.exs
legacy_authentication_plug_test.exs [#1682] Fixed Basic Auth permissions issue by disabling OAuth scopes checks when password is provided. Refactored plugs skipping functionality. 2020-04-17 21:21:10 +03:00
mapped_identity_to_signature_plug_test.exs
oauth_plug_test.exs
oauth_scopes_plug_test.exs Automatic checks of authentication / instance publicity. Definition of missing OAuth scopes in AdminAPIController. Refactoring. 2020-04-21 16:29:19 +03:00
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