mirror of
https://github.com/roytam1/mozilla45esr.git
synced 2026-05-29 09:46:59 +00:00
partly import changes from tenfourfox:
- #654: M1746720 M1737816 M1746011 M1739957 M1740985+backbugs M1742421, update HSTS, TLDs (861ae8f62) - #654: lozad and yt workarounds (5e969c18d)
This commit is contained in:
@@ -434,6 +434,8 @@ nsHttpHandler::AddStandardRequestHeaders(nsHttpHeaderArray *request,
|
||||
!hostLine.EqualsLiteral("imgur.com") &&
|
||||
!hostLine.EqualsLiteral("github.com") &&
|
||||
!hostLine.EqualsLiteral("gist.github.com") &&
|
||||
!hostLine.EqualsLiteral("youtube.com") &&
|
||||
!hostLine.EqualsLiteral("www.youtube.com") &&
|
||||
1)) {
|
||||
rv = request->SetHeader(nsHttp::User_Agent, UserAgent(),
|
||||
false, nsHttpHeaderArray::eVarietyDefault);
|
||||
|
||||
Reference in New Issue
Block a user