Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

mathjax.org may need ruleset updated #14654

Closed

Description

@noloader

We are having a math formula rendering problem on our wiki. The math markup occurs with Simple MathJax.

According to HTTPS Everywhere Atlas | mathjax.org:

The release branch contains the following rules that are enabled by default:

<ruleset name="MathJax.org">
	<target host="mathjax.org"/>
	<target host="www.mathjax.org"/>
	<target host="beta.mathjax.org"/>
		<test url="http://beta.mathjax.org/mathjax/latest/test/localization.html"/>
	<target host="cdn.mathjax.org"/>
		<test url="http://cdn.mathjax.org/mathjax/latest/docs/html/platforms/index.html"/>
	<target host="docs.mathjax.org"/>

	<securecookie host=".+" name=".+"/>

	<rule from="^http:" to="https:"/>
</ruleset>

MathJax's CDN allows HTTPS now. From Using the MathJax Content Delivery Network CDN:

We retired our self-hosted CDN at cdn.mathjax.org in April, 2017. We recommend using cdnjs.com.

To jump start using cdnjs, you accomplish the first step by putting

<script type="text/javascript" async
  src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

into the block of your document...

I don't quite understand the ruleset above, but it looks like it is using HTTP instead of the {newly|recently|?} supported HTTPS. It is also using the wrong domain for HTTPS.

Please consider enabling HTTPS for MathJax requests, and please consider using the new CDN.

Activity

  1. https-everywhere-bot commented on Feb 17, 2018

    @https-everywhere-bot

    Hey, I couldn't find the type of issue in your description. Can you edit your issue to add this (perhaps referring to the issue template?)

  2. changed the title [-]mathjax.org may need updating[/-] [+]mathjax.org may ruleset need updating[/+] on Feb 17, 2018
  3. changed the title [-]mathjax.org may ruleset need updating[/-] [+]mathjax.org may need ruleset updated[/+] on Feb 17, 2018
  4. noloader commented on Feb 17, 2018

    @noloader
    Author

    @https-everywhere-bot,

    Thanks, done.

    By the way, when you say "Can you edit your issue to add this", you might consider being more prescriptive. I was not sure if you wanted it in the title or the body. I also was not sure if you wanted the extra markup, like the [//]. I added field and the extra markup in the body assuming you use it to parse the field.

  5. Bisaloo commented on Feb 17, 2018

    @Bisaloo
    Collaborator

    When @https-everywhere-bot says "this" in this context, it refers to the issue type.

    In this case, it would be Type: ruleset issue.

    cc @strugee

  6. Bisaloo commented on Feb 17, 2018

    @Bisaloo
    Collaborator

    This is not a HTTPS Everywhere issue. I can reproduce with HTTPS Everywhere disabled in Firefox and I can't reproduce with HTTPS Everywhere enabled in Chromium.

    Firefox finds active mixed content from http://csp.azureedge.net/cdn/widget/fonts/icomoon.woff?-4tk0iu. Maybe, you should start here.

  7. noloader commented on Feb 17, 2018

    @noloader
    Author

    Thanks @Bisaloo.

    I'm not sure I am seeing the same test results as you. I go into the "unrendered" stated and then look at the HTML source. There are no references to azureedge.net. I searched the page for just azure and there were no hits.

    Is it possible it is a browser configuration difference? A regional thing? Or maybe something else?

  8. Bisaloo commented on Feb 17, 2018

    @Bisaloo
    Collaborator

    You are right. I don't see requests to azureedge.net anymore. Weird. I have no idea what could be causing the issue on your website.

  9. noloader commented on Feb 17, 2018

    @noloader
    Author

    @Bisaloo ,

    Ack, thanks. Thanks for the help in ruling out HTTPS Everywhere.

    I love the tool. I've been using it for years. Keep up the great work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions