diff options
author | Martin Stransky <stransky@redhat.com> | 2015-02-09 18:20:06 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2015-02-09 18:20:06 +0100 |
commit | 1c8e85a305a903bf42b45e42fc9765d7443ad623 (patch) | |
tree | 0ebdd5ba50cec14ac9f305aff4f9790a9d640fdd /firefox-fedora-ua.patch | |
parent | Bump for rebuild. (diff) | |
download | librewolf-fedora-ff-1c8e85a305a903bf42b45e42fc9765d7443ad623.tar.gz librewolf-fedora-ff-1c8e85a305a903bf42b45e42fc9765d7443ad623.tar.bz2 librewolf-fedora-ff-1c8e85a305a903bf42b45e42fc9765d7443ad623.zip |
Fixed rhbz#1190774 - update usear agent string for Fedora
Diffstat (limited to 'firefox-fedora-ua.patch')
-rw-r--r-- | firefox-fedora-ua.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/firefox-fedora-ua.patch b/firefox-fedora-ua.patch new file mode 100644 index 0000000..a5b7866 --- /dev/null +++ b/firefox-fedora-ua.patch @@ -0,0 +1,21 @@ +diff -up firefox-35.0.1/mozilla-release/media/webrtc/trunk/Makefile.old firefox-35.0.1/mozilla-release/media/webrtc/trunk/Makefile +diff -up firefox-35.0.1/mozilla-release/netwerk/protocol/http/nsHttpHandler.cpp.old firefox-35.0.1/mozilla-release/netwerk/protocol/http/nsHttpHandler.cpp +--- firefox-35.0.1/mozilla-release/netwerk/protocol/http/nsHttpHandler.cpp.old 2015-01-23 07:00:06.000000000 +0100 ++++ firefox-35.0.1/mozilla-release/netwerk/protocol/http/nsHttpHandler.cpp 2015-02-09 16:40:42.983220596 +0100 +@@ -607,7 +607,7 @@ nsHttpHandler::BuildUserAgent() + mUserAgent.SetCapacity(mLegacyAppName.Length() + + mLegacyAppVersion.Length() + + #ifndef UA_SPARE_PLATFORM +- mPlatform.Length() + ++ mPlatform.Length() + 8 + + #endif + mOscpu.Length() + + mMisc.Length() + +@@ -631,6 +631,7 @@ nsHttpHandler::BuildUserAgent() + if (!mPlatform.IsEmpty()) { + mUserAgent += mPlatform; + mUserAgent.AppendLiteral("; "); ++ mUserAgent.AppendLiteral("Fedora; "); + } + #endif + if (!mCompatDevice.IsEmpty()) { |