The regex at https://searchfox.org/mozilla-central/rev/3d173a6ad865eb778eb7a85de900e92774559ed6/toolkit/components/places/History.sys.mjs#583 doesn't assume this case. It's not really common on the Web to use absolute host names, it's more common in other network communications. Though, they clearly work as demonstrated in comment 1. We should update the regex to allow an optional trailing dot. And we should file a follow-up to evaluate merging them, I see currently we consider `bugzilla.mozilla.org.` different from `bugzilla.mozilla.org` but, while technically true, for our scopes we should probably normalize the URL removing the trailing dot and merge them.
Bug 1905512 Comment 3 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The regex at https://searchfox.org/mozilla-central/rev/3d173a6ad865eb778eb7a85de900e92774559ed6/toolkit/components/places/History.sys.mjs#583 doesn't assume this case. It's not really common on the Web to use absolute host names, it's more common in other network communications (or dns). Though, they clearly work as demonstrated in comment 1. We should update the regex to allow an optional trailing dot. And we should file a follow-up to evaluate merging them, I see currently we consider `bugzilla.mozilla.org.` different from `bugzilla.mozilla.org` but, while technically true, for our scopes we should probably normalize the URL removing the trailing dot and merge them.