The sanitization should work the same as without flex-layout module
: is being split in style value and may result in invalid (unsafe) style when sanitazing, warning: sanitizing unsafe style value url(https (see http://g.co/ng/security#xss)., the style is applied then correctly, just the warning shouldn't be there.
Open console in:
https://stackblitz.com/edit/angular-flex-layout-seed-ubokny
[email protected] + [email protected]
(maybe those two aren't supposed to work together? if so then please disregard this issue)
I guess the stringToKeyValue is at fault as it assumes there is no other colon in the string.
https://github.com/angular/flex-layout/blob/master/src/lib/extended/style/style-transforms.ts#L81
This will be patched in #938 and included in today's release. Thank you for catching this!
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
This will be patched in #938 and included in today's release. Thank you for catching this!