1
1
Fork 0

Merge pull request #7514 from MrPetovan/bug/7507-allow-protocolless

Allow protocol-less links
This commit is contained in:
Michael Vogel 2019-08-15 22:07:09 +02:00 committed by GitHub
commit 6f944f1e53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 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.