| Index: chrome/browser/search_engines/template_url_model.cc
|
| diff --git a/chrome/browser/search_engines/template_url_model.cc b/chrome/browser/search_engines/template_url_model.cc
|
| index 9a7a19316703c8bb5ab78b98cf41e07b6eb7c0f9..8a385611217dbd5434cec5967ed449e595a52a07 100644
|
| --- a/chrome/browser/search_engines/template_url_model.cc
|
| +++ b/chrome/browser/search_engines/template_url_model.cc
|
| @@ -158,13 +158,16 @@ string16 TemplateURLModel::CleanUserInputKeyword(const string16& keyword) {
|
| if (url_parse::ExtractScheme(UTF16ToUTF8(keyword).c_str(),
|
| static_cast<int>(keyword.length()),
|
| &scheme_component)) {
|
| - // If the scheme isn't "http" or "https", bail. The user isn't trying to
|
| - // type a web address, but rather an FTP, file:, or other scheme URL, or a
|
| - // search query with some sort of initial operator (e.g. "site:").
|
| + // If the scheme isn't "http", "https", or "httpsv", bail. The user isn't
|
| + // trying to type a web address, but rather an FTP, file:, or other scheme
|
| + // URL, or a search query with some sort of initial operator
|
| + // (e.g. "site:").
|
| if (result.compare(0, scheme_component.end(),
|
| ASCIIToUTF16(chrome::kHttpScheme)) &&
|
| result.compare(0, scheme_component.end(),
|
| - ASCIIToUTF16(chrome::kHttpsScheme)))
|
| + ASCIIToUTF16(chrome::kHttpsScheme)) &&
|
| + result.compare(0, scheme_component.end(),
|
| + ASCIIToUTF16(chrome::kHttpsvScheme)))
|
| return string16();
|
|
|
| // Include trailing ':'.
|
|
|