werpu / jsfs_js_ts

Apache License 2.0
2 stars 1 forks source link

Nonce gets lost in new style eval code #38

Closed werpu closed 1 year ago

werpu commented 1 year ago

my good old friend nonce, rears its ugly head again, https://github.com/werpu/jsfs_js_ts/pull/37

Needs a fix, probably very likely it gets lost somewhere in the copy attributes applied in the new styles eval code!

werpu commented 1 year ago

Fixed... I fixed it on the mona-dish side, first none now is a valueEmbedder which makes things easier second the copy attributes now deals with nonce in a special manner! Unfortunately unit testing this is not possible due to jsdom not properly dealing with nonce in the specified way, it is dealt with just as a normal attribute hence this slipped through during the css eval fixing!