mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Bump the markup cache version for URI changes
Summary: Ref T13250. Ref T13249. Some remarkup rules, including `{image ...}` and `{meme ...}`, may cache URIs as objects because the remarkup cache is `serialize()`-based. URI objects with `query` cached as a key-value map are no longer valid and can raise `__toString()` fatals. Bump the cache version to purge them out of the cache. Test Plan: See PHI1074. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13250, T13249 Differential Revision: https://secure.phabricator.com/D20160
This commit is contained in:
parent
a7bf279fd5
commit
991368128e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ final class PhabricatorMarkupEngine extends Phobject {
|
||||||
private $objects = array();
|
private $objects = array();
|
||||||
private $viewer;
|
private $viewer;
|
||||||
private $contextObject;
|
private $contextObject;
|
||||||
private $version = 17;
|
private $version = 18;
|
||||||
private $engineCaches = array();
|
private $engineCaches = array();
|
||||||
private $auxiliaryConfig = array();
|
private $auxiliaryConfig = array();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue