Allow command as a scheme for href's/etc.

Fixes #108577
This commit is contained in:
Jackson Kearl
2020-10-14 11:42:19 -07:00
parent 076245b1ce
commit 0a3a0fa9eb

View File

@@ -1328,6 +1328,7 @@ function newInsaneOptions(allowedTags: string[], allowedAttributesForAll: string
const value: InsaneOptions = {
allowedTags,
allowedAttributes,
allowedSchemes: ['http', 'https', 'command']
};
return value;
}