Open Bug 1767456 Opened 2 years ago Updated 7 months ago

Bookmarked star is not displayed in search suggestion for Reddit.com due to a redirect

Categories

(Firefox :: Address Bar, defect, P3)

Firefox 101
defect

Tracking

()

Tracking Status
firefox100 --- affected
firefox101 --- affected
firefox102 --- affected

People

(Reporter: btot, Unassigned)

References

Details

(Keywords: papercut, Whiteboard: [snt-scrubbed][snt-write-proposal])

Attachments

(3 files)

Affected versions

  • Nightly 102.0a1, Beta 101.0b1, Release 100.0

Affected platforms

  • Windows 10, macOs 11.1

Steps to reproduce

  1. Go to a https://www.reddit.com/r/usa and hit ctrl/cmd + d
  2. Hit ctrl/cmd + d (the site is Bookmarked)
  3. Open a new tab and close the rest of the tabs.
  4. In the new opened tab, start filling the bookmarked site (red), until the address bar would show you the bookmarked suggestion.

Expected result

  • Bookmarked suggestion (blue star) should be displayed into the address bar (search suggestion)

Actual result

  • Bookmarked suggestion (blue star) is not displayed into the address bar.

Regression range
Will find as soon as possible

Additional notes*

  • Bug is reproducible only when copy/paste the link into the address bar. It is not reproducibe if user is typing the link
Attached video 2022-05-03_16h43_26.mp4
Summary: Bookmarked favicon is not displayed in serch suggestion for Reddit.com → Bookmarked favicon is not displayed in search suggestion for Reddit.com
Has STR: --- → yes
Attached image 2022-05-03_17h32_59.png

Blue star should be displayed next to reddit.com/r/usa, as it is displayed for youtube suggestion

Hmm, it looks like the urlbar is suggesting "https://www.reddit.com/r/usa" but the bookmarked url is "https://www.reddit.com/r/usa/" (note the additional final trailing slash).
Searching "usa/" returns the expected bookmarked url.
CTRL+D happens before the site redirects to the final version with the trailing slash, so it's bookmarking the url without slash.
This is quite unfortunate, the two urls should be somehow coalesced.

Keywords: papercut
Priority: -- → P3
See Also: → 643554
Summary: Bookmarked favicon is not displayed in search suggestion for Reddit.com → Bookmarked star is not displayed in search suggestion for Reddit.com due to a redirect
Whiteboard: [snt-triaged][snt-write-proposal]
Whiteboard: [snt-triaged][snt-write-proposal] → [snt-scrubbed][snt-write-proposal]

I can't reproduce the issue in Firefox Nightly 120.

It's likely that Reddit has updated their url rewriter rules so it doesn't apply anymore to them, but it may be valid for other sites. We should better handle the trailing slash and bookmarks.

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

Attachment

General

Created:
Updated:
Size: