Permalink
Browse files

Adjust our UA string to fix to make it compatible with fonts.google.c…

…om parsing on IE11.

Counterpart of:
apache/incubator-pagespeed-mod@f3639e8
  • Loading branch information...
morlovich committed Jan 27, 2016
1 parent 1926c78 commit 0a60e0ef8b81a28def38c0921b13a0f152e947eb
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ngx_fetch.cc
@@ -938,8 +938,8 @@ void NgxFetch::FixUserAgent() {
user_agent += "NgxNativeFetcher";
}
GoogleString version = StrCat(
" ", kModPagespeedSubrequestUserAgent,
"/" MOD_PAGESPEED_VERSION_STRING "-" LASTCHANGE_STRING);
" (", kModPagespeedSubrequestUserAgent,
"/" MOD_PAGESPEED_VERSION_STRING "-" LASTCHANGE_STRING ")");
if (!StringPiece(user_agent).ends_with(version)) {
user_agent += version;
}

0 comments on commit 0a60e0e

Please sign in to comment.