Closed Bug 765201 Opened 14 years ago Closed 13 years ago

Text entry revealed to Google after there are indications of URL entry rather than search

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 774517

People

(Reporter: hsivonen, Unassigned)

Details

Steps to reproduce: 1) Type http://f in the location bar. 2) Type mozilla.org/ in the location bar. Actual results: Even after entering an obvious part of a URL (e.g. containing "http://", "." or "/"), the text being entered is still revealed to a third-party (Google). Expected results: As soon as there's a sign that the user is entering the URL instead of a search keyword, expected Firefox to stop revealing keystrokes to Google.
Would something as naive as /[./]/.test(...) catch all the cases (given that '/' implicitly catches 'http://')? Would it catch anything it shouldn't?
Sorry, I didn't see this bug earlier. Forward-duping to bug 774517 which has a patch.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
(In reply to Johnathan Nightingale [:johnath] from comment #1) > Would something as naive as > > /[./]/.test(...) > > catch all the cases (given that '/' implicitly catches 'http://')? Would it > catch anything it shouldn't? It would catch strings with spaces. The patch in the bug this got duplicated against is more elaborate on that point.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.