Commit fb34f45d authored by Christopher Thompson's avatar Christopher Thompson Committed by Commit Bot

Update Ask and Baidu suggest URLs to HTTPS

Ask has confirmed that the suggest URL we had in our list is for legacy
use only now and given us their new URL. (This new URL matches the
hostname in the certificate served if you attempt to load the old URL
over HTTPS.)

Manually testing of the Baidu suggest URL shows that it now supports
HTTPS, so this also updates it to use HTTPS in Chrome.

Bug: 869453
Change-Id: I5f520f5e9abe0d08195d273847103757dd0309ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1747980Reviewed-by: default avatarVasilii Sukhanov <vasilii@chromium.org>
Commit-Queue: Christopher Thompson <cthomp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#686441}
parent 0d4d96fe
......@@ -34,20 +34,16 @@
// The following engines are included in country lists and are added to the
// list of search engines on the first run depending on user's country.
"elements": {
// Ask and Ask UK have suggestion URLs reachable over HTTPS, but they
// throw a certificate error, so those will remain as HTTP for now.
"ask": {
"name": "Ask",
"keyword": "ask.com",
"favicon_url": "https://sp.ask.com/sh/i/a16/favicon/favicon.ico",
"search_url": "https://www.ask.com/web?q={searchTerms}",
"suggest_url": "http://ss.ask.com/query?q={searchTerms}&li=ff",
"suggest_url": "https://lss.sse-iacapps.com/query?q={searchTerms}&li=ff",
"type": "SEARCH_ENGINE_ASK",
"id": 4
},
// Baidu's suggestion URL is not reachable over HTTPS, so it remains as
// HTTP for now.
"baidu": {
"name": "\u767e\u5ea6",
"keyword": "baidu.com",
......@@ -58,7 +54,7 @@
"https://www.baidu.com/s?ie={inputEncoding}&word={searchTerms}",
"https://www.baidu.com/{google:pathWildcard}/s?ie={inputEncoding}&word={searchTerms}"
],
"suggest_url": "http://suggestion.baidu.com/su?wd={searchTerms}&action=opensearch&ie={inputEncoding}",
"suggest_url": "https://suggestion.baidu.com/su?wd={searchTerms}&action=opensearch&ie={inputEncoding}",
"type": "SEARCH_ENGINE_BAIDU",
"id": 21
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment