2019-01-28 13:53:26 +00:00
|
|
|
diff -up firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp.fedora-ua firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp
|
|
|
|
--- firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp.fedora-ua 2019-01-28 14:28:35.806375063 +0100
|
|
|
|
+++ firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp 2019-01-28 14:30:25.886917219 +0100
|
|
|
|
@@ -873,6 +873,7 @@ void nsHttpHandler::BuildUserAgent() {
|
|
|
|
mUserAgent.SetCapacity(mLegacyAppName.Length() + mLegacyAppVersion.Length() +
|
2015-02-09 17:20:06 +00:00
|
|
|
#ifndef UA_SPARE_PLATFORM
|
2019-01-28 13:53:26 +00:00
|
|
|
mPlatform.Length() +
|
|
|
|
+ mPlatform.Length() + 8 +
|
2015-02-09 17:20:06 +00:00
|
|
|
#endif
|
2019-01-28 13:53:26 +00:00
|
|
|
mOscpu.Length() + mMisc.Length() + mProduct.Length() +
|
|
|
|
mProductSub.Length() + mAppName.Length() +
|
|
|
|
@@ -891,6 +892,7 @@ void nsHttpHandler::BuildUserAgent() {
|
|
|
|
if (!mPlatform.IsEmpty()) {
|
|
|
|
mUserAgent += mPlatform;
|
|
|
|
mUserAgent.AppendLiteral("; ");
|
|
|
|
+ mUserAgent.AppendLiteral("Fedora; ");
|
|
|
|
}
|
2015-02-09 17:20:06 +00:00
|
|
|
#endif
|
2019-01-28 13:53:26 +00:00
|
|
|
if (!mCompatDevice.IsEmpty()) {
|