mask whole url

pull/1577/head
Salman Chishti 4 weeks ago
parent eca7c65a55
commit 5b6ae99d8b

@ -5741,6 +5741,7 @@ class CacheServiceClient {
const sigMatch = url.match(/[?&]sig=([^&]+)/);
if (sigMatch) {
(0, core_1.setSecret)(sigMatch[1]);
(0, core_1.setSecret)(url);
(0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`);
}
}

@ -5741,6 +5741,7 @@ class CacheServiceClient {
const sigMatch = url.match(/[?&]sig=([^&]+)/);
if (sigMatch) {
(0, core_1.setSecret)(sigMatch[1]);
(0, core_1.setSecret)(url);
(0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`);
}
}

@ -5741,6 +5741,7 @@ class CacheServiceClient {
const sigMatch = url.match(/[?&]sig=([^&]+)/);
if (sigMatch) {
(0, core_1.setSecret)(sigMatch[1]);
(0, core_1.setSecret)(url);
(0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`);
}
}

@ -5741,6 +5741,7 @@ class CacheServiceClient {
const sigMatch = url.match(/[?&]sig=([^&]+)/);
if (sigMatch) {
(0, core_1.setSecret)(sigMatch[1]);
(0, core_1.setSecret)(url);
(0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`);
}
}

Loading…
Cancel
Save