Closed
Bug 1404815
Opened 8 years ago
Closed 8 years ago
Don't chop off the first part of a three-part website address in the page title
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1284046
People
(Reporter: jidanni, Unassigned)
Details
User Agent: Mozilla/5.0 (Android 7.0; Mobile; rv:58.0) Gecko/58.0 Firefox/58.0
Build ID: 20171001100334
Steps to reproduce:
I have two websites m dot jidanni.Org and jidanni.Org.
But when I browse the former, the title at the top of the page that Firefox for Android provides, makes it look like I'm browsing the latter.
| Reporter | ||
Comment 1•8 years ago
|
||
We even see at the top of the screen
jidanni.org/?C=M;O=D
With the m. Totally chopped off.
All that detail at the end of the URL and the following blank area makes us think that we are looking at the entire URL. However the first part of the URL, the m. Has been chopped off!
| Reporter | ||
Comment 2•8 years ago
|
||
Sure, in some worlds the m is a mobile site for the regular site and you might as well chop off the m, but I would only do that for a known list of sites where that holds true always.
Comment 3•8 years ago
|
||
This is controlled by "browser.urlbar.trimURLs" and done in https://dxr.mozilla.org/mozilla-central/rev/41286177c59c74ec37961b1edea34cc90d6f6dc5/mobile/android/app/src/photon/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java#339 using https://dxr.mozilla.org/mozilla-central/rev/41286177c59c74ec37961b1edea34cc90d6f6dc5/mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/StringUtils.java#130.
| Reporter | ||
Comment 4•8 years ago
|
||
Have it coupled with an extra field in the list:
https://blog.mozilla.org/security/2012/11/01/preloading-hsts/
That way other innocent sites wouldn't be affected.
Comment 5•8 years ago
|
||
Taking Comment 3 into consideration, closing this issue as invalid since this setting is covered in about:config and can be toggled on and off for any user.
Thank you for your report and if you have any other issues please feel free to fire up a new bug.
Note:
Tapping on the URL bar also displays the entire length of the URL.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
OS: Unspecified → Android
Hardware: Unspecified → ARM
Resolution: --- → INVALID
| Reporter | ||
Comment 6•8 years ago
|
||
OK but I should note here maybe also there security implications involved.
It is assumed that all parts of a domain are all owned by the same
owner, so who would conspire against themselves?
However with many A.B.C sites, A might be under control of individual
users. So it would be a bad idea to allow A.B.C to set up a fake B.C
site, and get away with it due to default preferences.
Updated•8 years ago
|
Resolution: INVALID → DUPLICATE
| Assignee | ||
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•