Page MenuHomePhabricator

Keep the new "%P" query conversion out of the service call profiler by unmasking later
ClosedPublic

Authored by epriestley on Nov 15 2018, 1:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 3:07 AM
Unknown Object (File)
Sun, Apr 7, 3:14 AM
Unknown Object (File)
Tue, Apr 2, 2:25 PM
Unknown Object (File)
Thu, Mar 28, 2:02 PM
Unknown Object (File)
Mar 19 2024, 10:38 PM
Unknown Object (File)
Feb 9 2024, 9:42 PM
Unknown Object (File)
Feb 3 2024, 7:54 PM
Unknown Object (File)
Dec 26 2023, 9:25 PM
Subscribers
None

Details

Summary

Ref T13216. Ref T13217. Ref T6960. Although the new "%P" (password/secret) conversion can mask values, we currently convert it too early in the stack, and pass the unmasked query to the service call profiler. This means the unmasked query appears in the service call profiler, etc.

Instead, unmask slightly later in the stack so the call profiler gets the masked string.

Test Plan

See next change.

Diff Detail

Repository
rPHU libphutil
Branch
query6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21162
Build 28774: Run Core Tests
Build 28773: arc lint + arc unit