Please confirm the following.
What version of the Modrinth App are you using?
0.21.4
What operating systems are you seeing the problem on?
Windows
Describe the bug
When inspecting DevTools in the Modrinth App, multiple CSP and CORS related issues appear in the console-issues tab:
- CSP Violation:
vuedraggable.umd-d1ZbNssH.js attempts string evaluation (eval), which is blocked by the Content Security Policy under the script-src directive.
- CORS Errors: Multiple fetch requests to
posthog.modrinth.com fail from origin http://tauri.localhost due to missing Access-Control-Allow-Origin headers, resulting in repeated failed retry attempts (retry_count).
Steps to reproduce
1- Open Modrinth App.
2- Open the devtools.
3- Click to the Issues tab.
4- Observe the CSP blocked eval() warning and failing CORS telemetry fetch requests.
Expected behavior
- Dependencies should comply with the app's CSP policies without triggering
eval blocks.
- Telemetry and network requests from
http://tauri.localhost should pass CORS checks or handle blocked requests gracefully without excessive retries.
Additional context
Console Log Sample:
Content Security Policy of your site blocks the use of eval in JavaScript (vuedraggable.umd-d1ZbNssH.js)
Access to fetch at 'https://posthog.modrinth.com/...' from origin 'http://tauri.localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Please confirm the following.
What version of the Modrinth App are you using?
0.21.4
What operating systems are you seeing the problem on?
Windows
Describe the bug
When inspecting DevTools in the Modrinth App, multiple CSP and CORS related issues appear in the console-issues tab:
vuedraggable.umd-d1ZbNssH.jsattempts string evaluation (eval), which is blocked by the Content Security Policy under thescript-srcdirective.posthog.modrinth.comfail from originhttp://tauri.localhostdue to missingAccess-Control-Allow-Originheaders, resulting in repeated failed retry attempts (retry_count).Steps to reproduce
1- Open Modrinth App.
2- Open the devtools.
3- Click to the Issues tab.
4- Observe the CSP blocked
eval()warning and failing CORS telemetry fetch requests.Expected behavior
evalblocks.http://tauri.localhostshould pass CORS checks or handle blocked requests gracefully without excessive retries.Additional context
Console Log Sample:
Content Security Policy of your site blocks the use of eval in JavaScript (vuedraggable.umd-d1ZbNssH.js)Access to fetch at 'https://posthog.modrinth.com/...' from origin 'http://tauri.localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.