Merge pull request #3487 from tod31/tod31-url-schemes

additional URL schemes #3218
This commit is contained in:
Lauri Ojansivu 2021-01-26 19:53:54 +02:00 committed by GitHub
commit 4163841bcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -278,6 +278,8 @@ function mySafeAttrValue(tag, name, value, cssFilter) {
/^aodroplink:/gi.test(value) ||
/^onenote:/gi.test(value) ||
/^file:/gi.test(value) ||
/^abasurl:/gi.test(value) ||
/^conisio:/gi.test(value) ||
/^mailspring:/gi.test(value)
) {
return value;

View file

@ -18,6 +18,8 @@ function mySafeAttrValue(tag, name, value, cssFilter) {
/^aodroplink:/ig.test(value) ||
/^onenote:/ig.test(value) ||
/^file:/ig.test(value) ||
/^abasurl:/ig.test(value) ||
/^conisio:/ig.test(value) ||
/^mailspring:/ig.test(value)) {
return value;
}