SuggestURLTemplate isn't working in SearchEngines policy
Categories
(Firefox :: Enterprise Policies, defect, P2)
Tracking
()
People
(Reporter: mkaply, Assigned: mkaply)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr91+
|
Details | Review |
SuggestURLTemplate isn't working on policies
It's a typo:
suggestUrlGetParams: newEngine.SuggestURLTemplate,
should be
suggest_url
Assignee | ||
Comment 1•3 years ago
|
||
So when we fix this, unfortunately engines that were already added won't get "fixed".
Wondering if there is some clever way to do that?
Assignee | ||
Comment 3•3 years ago
|
||
I guess the question is can I easily update the suggest_url in an existing engine.
Comment 4•3 years ago
|
||
We don't have an easy way to do this currently.
I think you'd need to have a new function for updatePolicyEngine
that call through to engine._updateFromManifest
.
That would probably do enough. Though... if we did something like bug 1445134, then we wouldn't have to worry about this since we'd presumably always read/construct from the latest details.
On a possibly separate note, at some stage we should probably think about having strict identifiers for these - not just necessarily the names.
Assignee | ||
Comment 5•3 years ago
|
||
Updated•3 years ago
|
Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/6c28034df317 Fix suggest_url in policies. r=Standard8
Comment 7•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Assignee | ||
Comment 8•2 years ago
|
||
Comment on attachment 9251024 [details]
Bug 1730218 - Fix suggest_url in policies. r?Standard8
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Policy only, parity with 96
- User impact if declined: Suggest URLs don't work in policy
- Fix Landed on Version: 96
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Automated test, policy only.
Requires bug 1481946 first
Comment 9•2 years ago
|
||
Comment on attachment 9251024 [details]
Bug 1730218 - Fix suggest_url in policies. r?Standard8
Approved for 91.5esr.
Comment 10•2 years ago
|
||
bugherder uplift |
Updated•2 years ago
|
Description
•