Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 0a60e0e

Browse files
committed
Adjust our UA string to fix to make it compatible with fonts.google.com parsing on IE11.
Counterpart of: apache/incubator-pagespeed-mod@f3639e8
1 parent 1926c78 commit 0a60e0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ngx_fetch.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -938,8 +938,8 @@ void NgxFetch::FixUserAgent() {
938938
user_agent += "NgxNativeFetcher";
939939
}
940940
GoogleString version = StrCat(
941-
" ", kModPagespeedSubrequestUserAgent,
942-
"/" MOD_PAGESPEED_VERSION_STRING "-" LASTCHANGE_STRING);
941+
" (", kModPagespeedSubrequestUserAgent,
942+
"/" MOD_PAGESPEED_VERSION_STRING "-" LASTCHANGE_STRING ")");
943943
if (!StringPiece(user_agent).ends_with(version)) {
944944
user_agent += version;
945945
}

0 commit comments

Comments
 (0)