Skip to content

Commit 1ee6ab5

Browse files
committed
refactor(@angular-devkit/build-angular): remove disabling certificate validation when inlining fonts
Disabling certificate validation is strongly discouraged and is not required for inling of fonts. Addresses https://github.com/angular/angular-cli/security/code-scanning/29 Closes #25731
1 parent 0b0f79e commit 1ee6ab5

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/angular_devkit/build_angular/src/utils/index-file/inline-fonts.ts

-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ export class InlineFontsProcessor {
210210
url,
211211
{
212212
agent,
213-
rejectUnauthorized: false,
214213
headers: {
215214
'user-agent':
216215
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36',
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 08af92db72d96bf57e86b7e8d132f52ae4c5fbcd

0 commit comments

Comments
 (0)