Skip to content

Commit

Permalink
refactor(@angular-devkit/build-angular): remove disabling certificate…
Browse files Browse the repository at this point in the history
… 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

(cherry picked from commit cdcc858)
  • Loading branch information
alan-agius4 committed Aug 30, 2023
1 parent a2d70df commit ad821d2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ export class InlineFontsProcessor {
url,
{
agent,
rejectUnauthorized: false,
headers: {
'user-agent':
'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',
Expand Down

0 comments on commit ad821d2

Please sign in to comment.