Closed Bug 1994009 Opened 9 months ago Closed 8 months ago

Clean the URLs before having them pasted when handling toolbar input in a composable

Categories

(Firefox for Android :: Toolbar, task, P2)

All
Android
task

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox145 --- verified
firefox146 --- fixed

People

(Reporter: petru, Assigned: petru)

References

Details

(Whiteboard: [fxdroid][group3][composable toolbar])

Attachments

(3 files)

Mimic the current functionality of stripping out unwanted schemes when content is pasted from clipboard while searching.
This can be done by passing in our own implementation of TextToolbar through CompositionLocal so that it will then be used for presenting the tet related options when the current input is long clicked.

Whiteboard: [fxdroid][group3][composable toolbar]
Assignee: nobody → petru
Status: NEW → ASSIGNED
Pushed by plingurar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/fd8a661551ed https://hg.mozilla.org/integration/autoland/rev/4d34d2b35f4b Sanitize the pasted text in the composable toolbar input r=android-reviewers,skhan
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch

Original Revision: https://phabricator.services.mozilla.com/D270204

(cherry picked from commit fd8a661551ed398326127643e54275adb89710fe)

Attachment #9527275 - Flags: approval-mozilla-release?

firefox-release Uplift Approval Request

Flags: qe-verify+

Verified as fixed on the latest Nightly 147.0a1 from 11/18 using a Samsung Galaxy S9 (Android 8), and a Pixel 10 (Android 16).

Flags: qe-verify+
Attachment #9527275 - Flags: approval-mozilla-release? → approval-mozilla-release+

Verified as fixed on RC 145.0.2 using a Samsung Tab S8 Ultra 5G (Android 15), and Google Pixel 3 XL (Android 9).

Regressions: 2006921
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: