Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

\newcommand's influences should NOT be persistent #80

@Menci

Description

@Menci

If we use \newcommand in a TeX math, the influences will be persistent in current process.

The expected result is -- all \newcommands should only affect the current requested page.

The harm is that if I run a randering server with this library, a malicious person can submit a request that replaces builtin commands with their owns with \renewcommand, so later requests won't return correct result.

This upstream PR may help: mathjax/MathJax-node#348.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions