Commit 223d8c2
Add a check to prevent non-string URLs from being passed to fieldRedaction method (#2667)
* Add a check to prevent non-string URLs from being passed tO fieldRedaction
* Move the check to the fieldredaction method
* Update shared/AppInsightsCore/Tests/Unit/src/ApplicationInsightsCore.Tests.ts
removed unused config
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Updated fieldRedaction method with string check
* Retrigger CI/CD pipeline
* Retrigger CI/CD pipeline
* Retrigger CI/CD pipeline
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent a9c0b89 commit 223d8c2
File tree
2 files changed
+35
-2
lines changed2 files changed
+35
-2
lines changedLines changed: 34 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
2106 | 2107 | | |
2107 | 2108 | | |
2108 | 2109 | | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
2109 | 2142 | | |
2110 | 2143 | | |
2111 | 2144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
| 464 | + | |
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| |||
0 commit comments