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. |
||
---|---|---|
.. | ||
activity/ir | ||
bbs | ||
config | ||
conversation | ||
docs | ||
emails | ||
emoji | ||
federation | ||
fixtures | ||
http | ||
instance_static | ||
integration | ||
mfa | ||
object | ||
plugs | ||
pool | ||
reverse_proxy | ||
support | ||
tasks | ||
upload | ||
uploaders | ||
user | ||
web | ||
workers | ||
activity_expiration_test.exs | ||
activity_test.exs | ||
bookmark_test.exs | ||
captcha_test.exs | ||
config_test.exs | ||
conversation_test.exs | ||
earmark_renderer_test.exs | ||
emoji_test.exs | ||
filter_test.exs | ||
following_relationship_test.exs | ||
formatter_test.exs | ||
healthcheck_test.exs | ||
html_test.exs | ||
http_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 | ||
runtime_test.exs | ||
safe_jsonb_set_test.exs | ||
scheduled_activity_test.exs | ||
signature_test.exs | ||
stats_test.exs | ||
test_helper.exs | ||
upload_test.exs | ||
user_invite_token_test.exs | ||
user_relationship_test.exs | ||
user_search_test.exs | ||
user_test.exs | ||
xml_builder_test.exs |