Skip to content

Commit

Permalink
Add FXIOS-10831 Ensure reader mode URLs don't get sent to other devic…
Browse files Browse the repository at this point in the history
…es. (#23868)

Ensure reader mode URLs don't get sent to other devices.
  • Loading branch information
ih-codes authored Dec 18, 2024
1 parent 9c6ee94 commit be1b542
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion firefox-ios/Client/Frontend/Share/CustomAppActivity.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ class CustomAppActivity: UIActivity, AppActivityProtocol {

init(activityType: CustomActivityAction, url: URL) {
self.appActivityType = activityType
self.url = url
self.url = url.isReaderModeURL
? (url.decodeReaderModeURL ?? url)
: url
super.init()
}
}

0 comments on commit be1b542

Please sign in to comment.