Cleanup attachment download flow
This commit is contained in:
parent
9ad0e5064d
commit
ff5ecd8bf3
4 changed files with 16 additions and 25 deletions
|
@ -163,6 +163,10 @@ export const redactCallLinkRootKeys = (text: string): string => {
|
|||
return text.replace(CALL_LINK_ROOT_KEY_PATTERN, `${REDACTION_PLACEHOLDER}$1`);
|
||||
};
|
||||
|
||||
export const redactCdnKey = (cdnKey: string): string => {
|
||||
return `${REDACTION_PLACEHOLDER}${cdnKey.slice(-3)}`;
|
||||
};
|
||||
|
||||
const createRedactSensitivePaths = (
|
||||
paths: ReadonlyArray<string>
|
||||
): RedactFunction => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue