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

Issue 1858113003: Add "url-safe" encoding to base64 in dart:convert. (Closed)

Created:
4 years, 8 months ago by Lasse Reichstein Nielsen
Modified:
4 years, 8 months ago
Reviewers:
nweiz, floitsch
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add "url-safe" encoding to base64 in dart:convert. Fixes issue #24813. Doesn't add a second codec. The codec is unimportant, only the BASE64 and BASE64URL constants need to be public anyway. BUG= http://dartbug.com/24813 R=floitsch@google.com, nweiz@google.com Committed: https://github.com/dart-lang/sdk/commit/3f0ad9d4f27c0fde6da86f3f0c003ab5bb5184a6

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add to changelog #

Patch Set 3 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -41 lines) Patch
M CHANGELOG.md View 1 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/convert/base64.dart View 1 2 15 chunks +84 lines, -40 lines 0 comments Download
M tests/lib/convert/base64_test.dart View 3 chunks +33 lines, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Lasse Reichstein Nielsen
4 years, 8 months ago (2016-04-05 11:06:23 UTC) #2
Lasse Reichstein Nielsen
https://codereview.chromium.org/1858113003/diff/1/sdk/lib/convert/base64.dart File sdk/lib/convert/base64.dart (right): https://codereview.chromium.org/1858113003/diff/1/sdk/lib/convert/base64.dart#newcode35 sdk/lib/convert/base64.dart:35: const Base64Codec BASE64URL = const Base64Codec.urlSafe(); We could (and ...
4 years, 8 months ago (2016-04-05 11:07:44 UTC) #3
floitsch
LGTM. https://codereview.chromium.org/1858113003/diff/1/sdk/lib/convert/base64.dart File sdk/lib/convert/base64.dart (right): https://codereview.chromium.org/1858113003/diff/1/sdk/lib/convert/base64.dart#newcode35 sdk/lib/convert/base64.dart:35: const Base64Codec BASE64URL = const Base64Codec.urlSafe(); On 2016/04/05 ...
4 years, 8 months ago (2016-04-05 13:45:33 UTC) #4
nweiz
lgtm
4 years, 8 months ago (2016-04-05 21:36:33 UTC) #5
Lasse Reichstein Nielsen
4 years, 8 months ago (2016-04-07 14:36:34 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
3f0ad9d4f27c0fde6da86f3f0c003ab5bb5184a6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698