Commit da55fc4
🐛 Avoid leaking auth credentials for ext. need warnings (#1512)
Changes for [issue
#1476](#1476):
When a warning is triggered due to unknown keys in external sources, it
includes the URL of the source. If the URL contains basic authentication
details, those credentials will be exposed in the warning message.
FIX is simply to use the existing "clean_log" method to obfuscate the
url
Co-authored-by: cedric.dos-santos.e <cedric.dos-santos.e@thalesdigital.io>1 parent 7b19721 commit da55fc4
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
202 | 204 | | |
203 | 205 | | |
204 | 206 | | |
| |||
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
210 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
211 | 215 | | |
212 | 216 | | |
213 | 217 | | |
214 | 218 | | |
215 | 219 | | |
216 | 220 | | |
217 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
218 | 224 | | |
219 | 225 | | |
220 | 226 | | |
| |||
0 commit comments