https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38365 --- Comment #425 from David Cook <dcook@prosentient.com.au> --- (In reply to Jonathan Druart from comment #423)
Regarding the following patches: Bug 38365: Fix Koha/UI/Form/Builder/Biblio.t Bug 38365: Fix Koha/UI/Form/Builder/Item.t Bug 38365: Fix Serials.t Bug 38365: Fix FrameworkPlugin.t
I am not sure the fixes are correct. Shouldn't we instead remove the nonce attribute if it's not set? That will remove the warning.
Or do we throw an exception?
Mmm that's a good point. Technically, we don't *really* need a CSP nonce for most of those tests. We don't have to remove the nonce attribute but we can change Koha/FrameworkPlugin.pm to just set it to blank if it doesn't have a defined value. I think we'd really just need 1 script like FrameworkPlugin.t setting the nonce so that we can prove that it does inject the nonce into the framework plugins. Ok, I'll do something for that now. -- You are receiving this mail because: You are watching all bug changes.