Skip to content

Commit 0f30ebd

Browse files
committed
Fix useragent
1 parent a63edfd commit 0f30ebd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

browser/branding/r3dfox/LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
These files are under the MPL 2, as below. However, please note that you
22
are not granted any trademark rights or licenses to the trademarks of the
3-
Mozilla Foundation or any party, including without limitation the
4-
Firefox name or logo.
3+
Eclipse Community or any party, including without limitation the
4+
r3dfox name or logo.
55

66
For more information, see: https://www.mozilla.org/foundation/licensing/
77

netwerk/protocol/http/nsHttpHandler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,11 +789,11 @@ void nsHttpHandler::BuildUserAgent() {
789789
mUserAgent += mProductSub;
790790

791791
bool isFirefox = mAppName.EqualsLiteral("Firefox");
792-
if (isFirefox || mCompatFirefoxEnabled) {
792+
793793
// "Firefox/x.y" (compatibility) app token
794794
mUserAgent += ' ';
795795
mUserAgent += mCompatFirefox;
796-
}
796+
797797
if (!isFirefox) {
798798
// App portion
799799
mUserAgent += ' ';

0 commit comments

Comments
 (0)