HomePhabricator

SECURITY: Make Widget replacements more reliable

Description

SECURITY: Make Widget replacements more reliable

This makes the marker/replacement functionality more reliable. In
certain cases this improves security. See T149488 for details.

Also store the widget replacements in the ParserOutput instead of
as a static member, so it stays with the correct page. This feels
like it is safer when there are multiple parses going on although
in pracise it should not make a difference.

Bug: T149488
Change-Id: I5caae562e88edd7868cd87988db4f23548e08045

Details

Provenance
BawolffAuthored on Nov 12 2022, 2:43 PM
Parents
rEWIDa706078e0eb5: build: Updating minimatch to 3.0.8
Branches
Unknown
Tags
Unknown
References
refs/changes/35/856035/2
ChangeId
I5caae562e88edd7868cd87988db4f23548e08045