You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2025/02/06 23:53:00 UTC
[jira] [Created] (SPARK-51120) Unblock MathJax.js in Spark Website
Gengliang Wang created SPARK-51120:
--------------------------------------
Summary: Unblock MathJax.js in Spark Website
Key: SPARK-51120
URL: https://issues.apache.org/jira/browse/SPARK-51120
Project: Spark
Issue Type: Sub-task
Components: Documentation
Affects Versions: 3.5.4, 4.0.0
Reporter: Gengliang Wang
There are errors when loading [https://spark.apache.org/docs/latest/]
{code:java}
latest/:393 Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://analytics.apache.org/". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
{code}
MathJax.js is big and it doesn't seem reasonable to self-host it. We should find another way to fix it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org