Open Bug 1778815 Opened 2 years ago Updated 2 years ago

Context menu does not recognise root domain (trailing dot/period) as URLs when selecting text

Categories

(Firefox :: Menus, defect, P3)

Desktop
All
defect

Tracking

()

People

(Reporter: jcclarke.rsa, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0

Steps to reproduce:

Highlight a URL in text, including the root domain "." at the end. Right click to open the context menu.

A simple page like this shows the issue. Compare the context menu for each line:
<p>www.example.com</p>
<p>www.example.com.</p>

Actual results:

If the root domain is excluded, FF recognises it as a URL and the context menu shows various options to "Open Link...". If the root domain is included, FF does not recognise the highlighted text as a link and does not show the options to open the link.

Expected results:

Full domains include a "." at the end. This is the root domain. FF should recognise URL's that include the root domain (eg: www.example.com.) and show the options to open the link.

The Bugbug bot thinks this bug should belong to the 'Firefox::Menus' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Menus
Type: enhancement → defect

Selecting text 'www.example.com.' it is not recognized as link, issue reproduces on Win10x64 using build 103.0 (20220718155818). Marking issue as new so that dev team can take a look. Thank you.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: -- → S4
OS: Unspecified → All
Priority: -- → P3
Hardware: Unspecified → Desktop
Summary: Context menu does not recognise root domain in URL's → Context menu does not recognise root domain (trailing dot/period) as URLs when selecting text
Version: Firefox 102 → Trunk
You need to log in before you can comment on or make changes to this bug.