Page MenuHomePhabricator

Don't unmangle keys that don't match specified pattern
Closed, ResolvedPublicBUG REPORT


Currently we're not checking if a key matches a pattern before we try to unmangle it.

For example, we have the following MANGLER pattern,

  class: StringMatcher
  prefix: datadump-
    - action-*
    - apihelp-*

While importing, this should add datadump- prefix to any messages that begin with action- or apihelp-, and similarly when exporting it should only un-mangle those keys, and remove the datadump- prefix, but during export, it un-mangles all keys that start with datadump-.

Event Timeline

abi_ triaged this task as Medium priority.Apr 8 2020, 1:09 PM

Marking this with Medium priority since this causes trouble while importing messages since they are now renamed.

A patch has been submitted and merged -