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

Issue 181483008: Don't unescape BiDi control characters in URL components (Closed)

Created:
6 years, 9 months ago by Anuj
Modified:
6 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Don't unescape BiDi control characters in URL components As per http://tools.ietf.org/html/rfc3987#section-4.1, the BiDi control characters are not allowed in IRI. Add constants for the new BiDi control characters from http://www.unicode.org/reports/tr9/ in rtl.h. BUG=337746 TBR=rsleevi Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254091

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed comments #

Total comments: 18

Patch Set 3 : Addressed comments - 2 #

Patch Set 4 : Addressed comments - 3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -29 lines) Patch
M net/base/escape.cc View 1 2 3 2 chunks +87 lines, -29 lines 0 comments Download
M net/base/escape_unittest.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download
M net/base/net_util_unittest.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
Anuj
PTAL
6 years, 9 months ago (2014-02-27 02:37:34 UTC) #1
Peter Kasting
https://codereview.chromium.org/181483008/diff/1/net/base/escape.cc File net/base/escape.cc (right): https://codereview.chromium.org/181483008/diff/1/net/base/escape.cc#newcode101 net/base/escape.cc:101: // char value. Nit: // Attempts to unescape the ...
6 years, 9 months ago (2014-02-27 04:43:04 UTC) #2
Anuj
Added more unittests. Also included the new BiDi control characters added in the Unicode TR9 ...
6 years, 9 months ago (2014-02-27 19:38:45 UTC) #3
Peter Kasting
https://codereview.chromium.org/181483008/diff/40001/base/i18n/rtl.h File base/i18n/rtl.h (right): https://codereview.chromium.org/181483008/diff/40001/base/i18n/rtl.h#newcode32 base/i18n/rtl.h:32: const char16 kPopDirectionalIsolate = 0x2069; Why are the changes ...
6 years, 9 months ago (2014-02-27 21:37:08 UTC) #4
Anuj
Let me know if you don't like the change in rtl.h - I will like ...
6 years, 9 months ago (2014-02-27 21:55:29 UTC) #5
Peter Kasting
https://codereview.chromium.org/181483008/diff/40001/base/i18n/rtl.h File base/i18n/rtl.h (right): https://codereview.chromium.org/181483008/diff/40001/base/i18n/rtl.h#newcode32 base/i18n/rtl.h:32: const char16 kPopDirectionalIsolate = 0x2069; On 2014/02/27 21:55:35, Anuj ...
6 years, 9 months ago (2014-02-27 22:08:38 UTC) #6
Anuj
https://codereview.chromium.org/181483008/diff/40001/base/i18n/rtl.h File base/i18n/rtl.h (right): https://codereview.chromium.org/181483008/diff/40001/base/i18n/rtl.h#newcode32 base/i18n/rtl.h:32: const char16 kPopDirectionalIsolate = 0x2069; On 2014/02/27 22:08:38, Peter ...
6 years, 9 months ago (2014-02-27 22:24:50 UTC) #7
jschuh
Lgtm on the security front. Anuj, thank you very much for taking care of this, ...
6 years, 9 months ago (2014-02-27 22:29:05 UTC) #8
Peter Kasting
LGTM
6 years, 9 months ago (2014-02-27 22:40:08 UTC) #9
Anuj
The CQ bit was checked by skanuj@chromium.org
6 years, 9 months ago (2014-02-27 22:47:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/181483008/80001
6 years, 9 months ago (2014-02-27 22:48:32 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-27 23:08:06 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-02-27 23:08:07 UTC) #13
jschuh
The CQ bit was checked by jschuh@chromium.org
6 years, 9 months ago (2014-02-27 23:24:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/181483008/80001
6 years, 9 months ago (2014-02-27 23:26:30 UTC) #15
jschuh
The CQ bit was unchecked by jschuh@chromium.org
6 years, 9 months ago (2014-02-27 23:39:14 UTC) #16
jschuh
The CQ bit was checked by jschuh@chromium.org
6 years, 9 months ago (2014-02-27 23:39:20 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-27 23:47:00 UTC) #18
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=52633
6 years, 9 months ago (2014-02-27 23:47:01 UTC) #19
jschuh
@brettw - would you mind rubber-stamping this for base? it was already reviewed?
6 years, 9 months ago (2014-02-27 23:55:11 UTC) #20
jschuh
Oops, @brett may have wrote this originally but he isn't the owner. Adding @sleevi as ...
6 years, 9 months ago (2014-02-28 00:02:38 UTC) #21
jschuh
The CQ bit was checked by jschuh@chromium.org
6 years, 9 months ago (2014-02-28 00:03:00 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/181483008/80001
6 years, 9 months ago (2014-02-28 00:03:31 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/181483008/80001
6 years, 9 months ago (2014-02-28 01:17:07 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-28 05:34:06 UTC) #25
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=271913
6 years, 9 months ago (2014-02-28 05:34:07 UTC) #26
jschuh
The CQ bit was checked by jschuh@chromium.org
6 years, 9 months ago (2014-02-28 09:03:20 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/181483008/80001
6 years, 9 months ago (2014-02-28 09:03:36 UTC) #28
commit-bot: I haz the power
6 years, 9 months ago (2014-02-28 10:42:43 UTC) #29
Message was sent while issue was closed.
Change committed as 254091

Powered by Google App Engine
This is Rietveld 408576698