mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 04:26:01 +08:00
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
This commit is contained in:
parent
f917b67e75
commit
cdcc8586a0
@ -210,7 +210,6 @@ export class InlineFontsProcessor {
|
|||||||
url,
|
url,
|
||||||
{
|
{
|
||||||
agent,
|
agent,
|
||||||
rejectUnauthorized: false,
|
|
||||||
headers: {
|
headers: {
|
||||||
'user-agent':
|
'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',
|
'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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user