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. |
||
---|---|---|
.. | ||
rate_limiter | ||
admin_secret_authentication_plug.ex | ||
authentication_plug.ex | ||
basic_auth_decoder_plug.ex | ||
cache.ex | ||
digest.ex | ||
ensure_authenticated_plug.ex | ||
ensure_public_or_authenticated_plug.ex | ||
ensure_user_key_plug.ex | ||
expect_authenticated_check_plug.ex | ||
expect_public_or_authenticated_check_plug.ex | ||
federating_plug.ex | ||
http_security_plug.ex | ||
http_signature.ex | ||
idempotency_plug.ex | ||
instance_static.ex | ||
legacy_authentication_plug.ex | ||
mapped_signature_to_identity_plug.ex | ||
oauth_plug.ex | ||
oauth_scopes_plug.ex | ||
plug_helper.ex | ||
remote_ip.ex | ||
session_authentication_plug.ex | ||
set_format_plug.ex | ||
set_locale_plug.ex | ||
set_user_session_id_plug.ex | ||
static_fe_plug.ex | ||
trailing_format_plug.ex | ||
uploaded_media.ex | ||
user_enabled_plug.ex | ||
user_fetcher_plug.ex | ||
user_is_admin_plug.ex |