Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Issue 1093833002: Fixed TemplateURL::ReplaceSearchTermsInURL for non-alphanumeric terms. (Closed)

Created:
5 years, 8 months ago by Vitaly Baranov
Modified:
5 years, 8 months ago
Reviewers:
beaudoin, Peter Kasting
CC:
chromium-reviews, rohitrao (ping after 24h)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed TemplateURL::ReplaceSearchTermsInURL for non-alphanumeric terms. Currently the TemplateURL::ReplaceSearchTermsInURL function escapes characters differently than the TemplateURL::HandleReplacements function does, and ignores search engine’s input encoding (which causes incorrect results when the input encoding != "UTF-8"). This patch fixes it up. R=pkasting@chromium.org Committed: https://crrev.com/f298455dbafbc7b613047d7909ef60649811ef10 Cr-Commit-Position: refs/heads/master@{#326017}

Patch Set 1 #

Patch Set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -8 lines) Patch
M components/search_engines/template_url.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/search_engines/template_url_unittest.cc View 1 5 chunks +76 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Vitaly Baranov
5 years, 8 months ago (2015-04-17 16:01:38 UTC) #1
Peter Kasting
* Is there an associate BUG= for this? * Please add at least one test ...
5 years, 8 months ago (2015-04-17 16:09:30 UTC) #3
beaudoin
On 2015/04/17 16:09:30, Peter Kasting wrote: > * Is there an associate BUG= for this? ...
5 years, 8 months ago (2015-04-19 14:16:31 UTC) #4
beaudoin
LGTM
5 years, 8 months ago (2015-04-19 14:17:12 UTC) #5
Vitaly Baranov
On 2015/04/17 16:09:30, Peter Kasting wrote: > Is there an associate BUG= for this? I ...
5 years, 8 months ago (2015-04-20 15:14:43 UTC) #6
Peter Kasting
LGTM On 2015/04/20 15:14:43, Vitaly Baranov wrote: > On 2015/04/17 16:09:30, Peter Kasting wrote: > ...
5 years, 8 months ago (2015-04-20 21:22:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1093833002/20001
5 years, 8 months ago (2015-04-21 11:52:03 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-21 12:58:21 UTC) #10
commit-bot: I haz the power
5 years, 8 months ago (2015-04-21 12:59:15 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f298455dbafbc7b613047d7909ef60649811ef10
Cr-Commit-Position: refs/heads/master@{#326017}

Powered by Google App Engine
This is Rietveld 408576698