Skip to content

fix: treat mobile Firefox on iOS as mobile Safari#58820

Open
ionodeionode wants to merge 1 commit intonextcloud:masterfrom
ionodeionode:fix/mobile-firefox-ios-detection-58656
Open

fix: treat mobile Firefox on iOS as mobile Safari#58820
ionodeionode wants to merge 1 commit intonextcloud:masterfrom
ionodeionode:fix/mobile-firefox-ios-detection-58656

Conversation

@ionodeionode
Copy link

Summary

Firefox on iOS uses the WebKit rendering engine (same as Safari), so it should be treated similarly to mobile Safari for compatibility and feature detection purposes.

Changes

  • Updated browser/user-agent detection logic to identify Firefox on iOS (FxiOS) as a mobile Safari-equivalent browser

Fixes #58656

@ionodeionode ionodeionode requested a review from a team as a code owner March 10, 2026 05:38
@ionodeionode ionodeionode requested review from ArtificialOwl, leftybournes, nfebe and sorbaugh and removed request for a team March 10, 2026 05:38
Firefox on iOS uses WebKit engine and should be treated similarly
to Safari on iOS for compatibility purposes.

Fixes: nextcloud#58656
Signed-off-by: ionodeionode <ionodeionode@users.noreply.github.com>
@ionodeionode ionodeionode force-pushed the fix/mobile-firefox-ios-detection-58656 branch from ebf017e to 80c00a2 Compare March 10, 2026 10:50
Copy link
Member

@CarlSchwan CarlSchwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense to me but I don't use iOS so i can't test

@CarlSchwan CarlSchwan requested a review from susnux March 12, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Treat mobile Firefox as mobile Safari on iOS

2 participants