Increase specificity of default allowed protocols

This commit is contained in:
Hypolite Petovan 2019-08-14 21:42:00 -04:00
parent f88435fa4c
commit 0f9520f520
2 changed files with 11 additions and 5 deletions

View file

@ -52,8 +52,8 @@ return [
],
'system' => [
// allowed_link_protocols (Array)
// Allowed protocols in links URLs, add at your own risk. http is always allowed.
'allowed_link_protocols' => ['ftp', 'ftps', 'mailto', 'cid', 'gopher'],
// Allowed protocols in links URLs, add at your own risk. http(s) is always allowed.
'allowed_link_protocols' => ['ftp://', 'ftps://', 'mailto:', 'cid:', 'gopher://'],
// always_show_preview (Boolean)
// Only show small preview pictures.