-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Icon Library Problems #17395
Comments
mhh, weird, all the listed problems are originated by So it is only broken on On demo seems working fine |
But the mentioned github button is appearing only on login page, not sure how it can be reproduced, looks like it is logging out/expiring session somehow on some icon and it's in-lining the login page content instead of the image or things like that. I see a |
Hmm problem appreared in fresh installation of skeleton in prod env |
The error output regarding GitHub buttons JavaScript is misleading - it's just the CSP header's value. I think the reason for this error is that the <script
src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
crossorigin="anonymous"></script> self::SCRIPT_OPT => [
'https://buttons.github.io/buttons.js', // GitHub star button on login page
], So a quick fix could be to include the jQuery CDN as well in der CSP. |
Pimcore version
2024.2
Steps to reproduce
open icon library
Actual Behavior
JS errors when opening
![image](https://private-user-images.githubusercontent.com/8792145/351736799-d4d8bf84-42d5-4528-b8fa-015c3f15be98.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNDE5MTYsIm5iZiI6MTcyMjE0MTYxNiwicGF0aCI6Ii84NzkyMTQ1LzM1MTczNjc5OS1kNGQ4YmY4NC00MmQ1LTQ1MjgtYjhmYS0wMTVjM2YxNWJlOTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjhUMDQ0MDE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2NkNjE0M2FjMWJlOTdmYTg2ODhlODVkOGIwMTBiYTRhNzJhOWUxZjBlMjk0NTljMjk3ZDM3NzQ5ZGY2ODI3ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.b2ehhi1PQtmckg9q3g0IP9WtJY42BU7vFgoXhSvQQ8w)
click on icons with green border has no effect
![image](https://private-user-images.githubusercontent.com/8792145/351737074-a0796410-3a74-4082-9809-77896c8be770.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNDE5MTYsIm5iZiI6MTcyMjE0MTYxNiwicGF0aCI6Ii84NzkyMTQ1LzM1MTczNzA3NC1hMDc5NjQxMC0zYTc0LTQwODItOTgwOS03Nzg5NmM4YmU3NzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjhUMDQ0MDE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDBjMzllZmI0YjM4YzI1YTdkMTQxMDE0NjRlMDI3MWRiY2RlMDExOGFjNTViYjU2YTgxYWMzYjhiYzU0MTIxMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.a8vTqpRtx5UqXtPtbp5ysgF0-sRMdztpkywGikM5Was)
click on icon does not copy path to clipboard
Expected Behavior
no errors...
The text was updated successfully, but these errors were encountered: