This commit is contained in:
Martin Stransky 2021-08-23 12:11:05 +02:00
parent c4b86655eb
commit 43910c991d
2 changed files with 10 additions and 7 deletions

View File

@ -1,15 +1,16 @@
diff -up firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp.fedora-ua firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp diff -up firefox-91.0.1/netwerk/protocol/http/nsHttpHandler.cpp.fedora-ua firefox-91.0.1/netwerk/protocol/http/nsHttpHandler.cpp
--- firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp.fedora-ua 2019-01-28 14:28:35.806375063 +0100 --- firefox-91.0.1/netwerk/protocol/http/nsHttpHandler.cpp.fedora-ua 2021-08-16 20:10:57.000000000 +0200
+++ firefox-65.0/netwerk/protocol/http/nsHttpHandler.cpp 2019-01-28 14:30:25.886917219 +0100 +++ firefox-91.0.1/netwerk/protocol/http/nsHttpHandler.cpp 2021-08-23 12:07:21.128772096 +0200
@@ -873,6 +873,7 @@ void nsHttpHandler::BuildUserAgent() { @@ -716,7 +716,7 @@ void nsHttpHandler::BuildUserAgent() {
// than if we didn't preallocate at all.
mUserAgent.SetCapacity(mLegacyAppName.Length() + mLegacyAppVersion.Length() + mUserAgent.SetCapacity(mLegacyAppName.Length() + mLegacyAppVersion.Length() +
#ifndef UA_SPARE_PLATFORM #ifndef UA_SPARE_PLATFORM
mPlatform.Length() + - mPlatform.Length() +
+ mPlatform.Length() + 8 + + mPlatform.Length() + 10 +
#endif #endif
mOscpu.Length() + mMisc.Length() + mProduct.Length() + mOscpu.Length() + mMisc.Length() + mProduct.Length() +
mProductSub.Length() + mAppName.Length() + mProductSub.Length() + mAppName.Length() +
@@ -891,6 +892,7 @@ void nsHttpHandler::BuildUserAgent() { @@ -735,6 +735,7 @@ void nsHttpHandler::BuildUserAgent() {
if (!mPlatform.IsEmpty()) { if (!mPlatform.IsEmpty()) {
mUserAgent += mPlatform; mUserAgent += mPlatform;
mUserAgent.AppendLiteral("; "); mUserAgent.AppendLiteral("; ");

View File

@ -1046,6 +1046,8 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog %changelog
* Mon Aug 23 2021 Timm Bäder <tbaeder@redhat.com> - 91.0.1-2 * Mon Aug 23 2021 Timm Bäder <tbaeder@redhat.com> - 91.0.1-2
- Set %%build_with_clang automatically based on %%toolchain - Set %%build_with_clang automatically based on %%toolchain
- Updated Fedora UA patch by Eric Engestrom
(https://src.fedoraproject.org/rpms/firefox/pull-request/21)
* Mon Aug 23 2021 Martin Stransky <stransky@redhat.com> - 91.0.1-1 * Mon Aug 23 2021 Martin Stransky <stransky@redhat.com> - 91.0.1-1
- Updated to 91.0.1 - Updated to 91.0.1