Skip to content
Permalink
Browse files

fix(core): allow Z variations of CSS transforms in sanitizer (#29264)

PR Close #29264
  • Loading branch information...
foolmoron authored and mhevery committed Mar 12, 2019
1 parent 1e9eeaf commit 78e7fdd98d955c8c1e1845e976be95ed8609bc64
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/core/src/sanitization/style_sanitizer.ts
@@ -25,7 +25,7 @@ import {_sanitizeUrl} from './url_sanitizer';
* transformation values.
*/
const VALUES = '[-,."\'%_!# a-zA-Z0-9]+';
const TRANSFORMATION_FNS = '(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?';
const TRANSFORMATION_FNS = '(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?';
const COLOR_FNS = '(?:rgb|hsl)a?';
const GRADIENTS = '(?:repeating-)?(?:linear|radial)-gradient';
const CSS3_FNS = '(?:calc|attr)';

0 comments on commit 78e7fdd

Please sign in to comment.
You can’t perform that action at this time.