Keyword search in domain name is broken
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
People
(Reporter: Richard, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
- Create a new bookmark for a website, such as https://wordpress.com/
- Edit the bookmark and add a "keyword search" in the domain name. For example: https://%s.wordpress.com/
Actual results:
The bookmark will not save the "%s" parameter. It reverts back to the original value.
Expected results:
Until recently, (prior to Firefox 67?) you could put the keyword search parameters %s or %S anywhere in the URL, including the domain name. This was useful for quickly accessing websites that have a similar domain name structure.
Now it only seems to accept them in the path after the domain name.
Additionally, if you had any existing bookmarks with a keyword search in the domain name (created before the breaking change in Firefox), they no longer work. You can't even change or delete them! I had to delete the places.sqlite file in my profile directory in order to remove these now-corrupted bookmarks.
Updated•7 years ago
|
Comment 1•7 years ago
|
||
We don't plan to support replacement in the domain part of the url, they used to work, but because they were generating bogus urls, now they break some of our APIs. That means, as you noticed, they can't be removed. That is bug 1401401.
| Reporter | ||
Comment 2•7 years ago
|
||
Sad face. I frequently used this feature. Given that it's been supported all along, how about updating your APIs with a special case so that they can handle these special domain names instead of deprecating existing features?
Comment 3•7 years ago
|
||
The whole API depends on valid urls, accepting invalid urls would be a huge amount of work with the only benefit of supporting this, plus the risk of not noticing bugs due to actually invalid urls. Big cost for a tiny feature.
Description
•