Conversation
- purges temp dir - PHP 8.5 compatibility
If you have onclick or other inline event handlers, you might put your nonce in `script-src-attr` rather than `script-src`. This will find either way.
|
|
Hi @dg - yes, I understand that. Sorry, my bad - my note might have confused you - it should say |
|
Hi @dg - sorry to bug you, but just wanted to make sure you read my comment above - I messed up term in my initial commit note, but I think the code in the PR is correct and very helpful if you'd consider including it please. |
|
Hi @dg - sorry if I am missing something here, but I don't understand how ecb3dfb fixes this. If a site has a CSP and they set a nonce on It's quite legitimate to have a CSP with a nonce on Does that make sense, or am I not explaining properly? |
|
Just to follow up, I believe these three inline scripts will fail in the scenario I describe: tracy/src/Tracy/Bar/dist/loader.phtml Line 17 in fea1ec5 Line 121 in fea1ec5 tracy/src/Tracy/Bar/assets/loader.latte Line 17 in fea1ec5 |
|
Thanks @dg for finally implementing this. I must admit I am a bit confused about the resistance and silence about your change of mind. Anyway, hopefully others will find it useful, so thanks again. |
|
Hi @adrianbj, sorry for the delayed response and thanks for both the PR and your patience. You were right about the |
|
Thanks @dg - appreciate all your hard work on Tracy! |
If you have onclick or other inline event handlers, you might put your nonce in
script-src-elemrather thanscript-src. This will find either way.