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
F18366443: D19811.diff
Wed, Aug 27, 10:20 PM
F18102198: D19811.id47313.diff
Sat, Aug 9, 7:04 PM
F18095219: D19811.id.diff
Thu, Aug 7, 10:35 PM
F18092194: D19811.id.diff
Thu, Aug 7, 7:03 AM
F18091824: D19811.diff
Thu, Aug 7, 1:10 AM
F17801131: D19811.diff
Jul 25 2025, 7:25 AM
F17668531: D19811.id47313.diff
Jul 12 2025, 11:15 PM
Unknown Object (File)
Jul 1 2025, 5:43 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable