Skip to content

Commit

Permalink
Bugfix FXIOS-9699 [webcompat] Force mobile UA for PayPal (backport #2…
Browse files Browse the repository at this point in the history
…4497) (#24637)

Bugfix FXIOS-9699 [webcompat] On online stores, Paypal connection fails with blank screen (#24497)

(cherry picked from commit 7949414)

Co-authored-by: Jan Brasna <[email protected]>
  • Loading branch information
mergify[bot] and janbrasna authored Feb 7, 2025
1 parent 03c0c1e commit 88bb948
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions BrowserKit/Sources/Shared/UserAgent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,11 @@ struct CustomUserAgentConstant {
private static let customDesktopUA = UserAgentBuilder.defaultDesktopUserAgent().clone(extensions: "Version/\(AppInfo.appVersion) \(UserAgent.uaBitSafari)")

static let customMobileUAForDomain = [
"paypal.com": defaultMobileUA,
"yahoo.com": defaultMobileUA,
"disneyplus.com": customDesktopUA
]

static let customDesktopUAForDomain = [
"paypal.com": defaultMobileUA,
"firefox.com": defaultMobileUA
]
}
Expand Down

0 comments on commit 88bb948

Please sign in to comment.