mediawiki-extensions-Math/tests
physikerwelt 6a0af8f3b4 Validate TeX input for all renderers, not just texvc
The user input specified in the math tag a. la
<math>E=m <script>alert('attacked')</script>^2 </math>
is verified in PNG rendering mode, but not in plaintext, MathJax
or LaTeXML rendering mode. This is a potential security issue.

Furthermore, the texvc specific commands such as $\reals$
that is expanded to $\mathbb{R}$ might be rendered differently
depended on the rendering mode.

Therefore, the security checking and rewriting portion of texvc
have been extracted from the texvc source
(see I1650e6ec2ccefff6335fbc36bbe8ca8f59db0faa) and are
now available as a separate executable (texvccheck).

This commit will now enable this enhancement in security and
provide even more compatibility among the different rendering
modes.

Bug: 49169
Change-Id: Ida24b6bf339508753bed40d2e218c4a5b7fe7d0c
2014-01-22 10:07:27 +00:00
..
MathDatabaseTest.php New rendering option LaTeXML 2013-05-26 12:12:51 +00:00
MathInputCheckTest.php Validate TeX input for all renderers, not just texvc 2014-01-22 10:07:27 +00:00
MathInputCheckTexvcTest.php Validate TeX input for all renderers, not just texvc 2014-01-22 10:07:27 +00:00
MathLaTeXMLTest.php Fix LaTeXML integration test 2014-01-21 08:17:49 +00:00
MathRendererTest.php New rendering option LaTeXML 2013-05-26 12:12:51 +00:00
MathSourceTest.php rename MathSourceTest::simpleTest->MathSourceTest::testBasics 2013-05-04 10:43:14 +00:00
MathTexvcTest.php Fix: PHP Style corrections 2013-06-07 15:37:56 +00:00