We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe5947c commit 032d5e5Copy full SHA for 032d5e5
src/Controllers/LoggerController.js
@@ -41,7 +41,18 @@ export class LoggerController extends AdaptableController {
41
42
// check the url
43
if (e.url) {
44
- e.url = this.maskSensitiveUrl(e.url);
+ // for strings
45
+ if (typeof e.url === 'string') {
46
+ e.url = this.maskSensitiveUrl(e.url);
47
+ } else if (Array.isArray(e.url)) { // for strings in array
48
+ e.url = e.url.map(item => {
49
+ if (typeof item === 'string') {
50
+ return this.maskSensitiveUrl(item);
51
+ }
52
+
53
+ return item;
54
+ });
55
56
}
57
58
if (e.body) {
0 commit comments