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

Issue 160589: All host names with nonascii characters (cyrillic) + escapable characters (,)... (Closed)

Created:
11 years, 4 months ago by Nebojša Ćirić
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews_googlegroups.com, jungshik at Google
Visibility:
Public.

Description

All host names with nonascii characters (cyrillic) + escapable characters (,)... were shown corrupted in suggestion box in Omnibox2, because we escaped punicode string after it was created. I added some more escaping before IDNA conversion. Unittest updated, and main method added so we can init ICU data properly. BUG=5490 TEST=Follow bug description, and make sure that test is as expected (orignal text+%28).

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 4

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -22 lines) Patch
M build/temp_gyp/googleurl.gyp View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
A googleurl/src/gurl_test_main.cc View 1 chunk +96 lines, -0 lines 0 comments Download
M googleurl/src/url_canon_host.cc View 1 2 3 4 5 4 chunks +31 lines, -17 lines 0 comments Download
M googleurl/src/url_canon_internal.h View 5 6 1 chunk +5 lines, -2 lines 0 comments Download
M googleurl/src/url_canon_unittest.cc View 1 2 3 4 5 6 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Nebojša Ćirić
For some reason SVN wouldn't cooperate with adding new files to old CL, so I ...
11 years, 4 months ago (2009-08-04 18:09:57 UTC) #1
brettw
I'm confused. This new code takes a UTF-16 string, converts it to UTF-8 and escapes ...
11 years, 4 months ago (2009-08-07 16:53:35 UTC) #2
Nebojša Ćirić
On 2009/08/07 16:53:35, brettw wrote: > I'm confused. This new code takes a UTF-16 string, ...
11 years, 4 months ago (2009-08-07 17:42:53 UTC) #3
Nebojša Ćirić
It seems that Linux and Mac bots don't like my cl: .../googleurl/src/url_canon_host.cc: In function 'bool ...
11 years, 4 months ago (2009-08-07 17:53:45 UTC) #4
brettw
What do you think about this approach: DoSimpleHost takes an additional template value for the ...
11 years, 4 months ago (2009-08-07 18:34:06 UTC) #5
Nebojša Ćirić
It looks ok, except for: DoSimpleHost expects 8bit characters (no matter the container), so our ...
11 years, 4 months ago (2009-08-07 20:38:33 UTC) #6
Nebojša Ćirić
Last patch (4) took care of failing linux/mac bots.
11 years, 4 months ago (2009-08-07 20:57:31 UTC) #7
Nebojša Ćirić
Could you take a look again. I did what you suggested. http://codereview.chromium.org/160589/diff/2012/3020 File googleurl/src/url_canon_host.cc (right): ...
11 years, 4 months ago (2009-08-07 23:06:22 UTC) #8
Nebojša Ćirić
Build bots are happy with this CL. On 2009/08/07 23:06:22, Nebojša Ćirić wrote: > Could ...
11 years, 4 months ago (2009-08-10 21:32:20 UTC) #9
brettw
http://codereview.chromium.org/160589/diff/2012/3021 File googleurl/src/url_canon_internal.h (right): http://codereview.chromium.org/160589/diff/2012/3021#newcode148 Line 148: CanonOutputT<OUTCHAR>* output) { On 2009/08/07 23:06:22, Nebojša Ćirić ...
11 years, 4 months ago (2009-08-11 00:51:31 UTC) #10
Nebojša Ćirić
I am slightly confused about base requirement, since googleurl.gyp includes reference to base library, and ...
11 years, 4 months ago (2009-08-11 16:58:02 UTC) #11
Nebojša Ćirić
All done, and passing on bots. On 2009/08/11 00:51:31, brettw wrote: > http://codereview.chromium.org/160589/diff/2012/3021 > File ...
11 years, 4 months ago (2009-08-11 19:15:17 UTC) #12
brettw
LGTM, thanks!
11 years, 4 months ago (2009-08-12 20:41:37 UTC) #13
Nebojša Ćirić
Nice :). Submitting as soon as tree opens. Great CL for learning stuff about gyp, ...
11 years, 4 months ago (2009-08-12 21:29:19 UTC) #14
brettw
Okay, I checked this in as googleurl revision 113. This is only the googleurl part. ...
11 years, 4 months ago (2009-08-18 23:48:58 UTC) #15
Nebojša Ćirić
11 years, 4 months ago (2009-08-20 00:37:36 UTC) #16
Sent new CL 174093 to you, with DEPS and build files pointing to 113.
Cira

On Tue, Aug 18, 2009 at 4:48 PM, <brettw@chromium.org> wrote:

> Okay, I checked this in as googleurl revision 113.
>
> This is only the googleurl part. You'll need to submit a patch to update
> the DEPS file to pull this revision, and also add the build/temp_gyp...
> file simultaneously.
>
>
> http://codereview.chromium.org/160589
>

Powered by Google App Engine
This is Rietveld 408576698