DescriptionFixed 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 #
Messages
Total messages: 11 (2 generated)
|