diff options
author | Maledong <maledong_github@outlook.com> | 2019-08-19 12:37:22 +0300 |
---|---|---|
committer | Anto Aravinth <anto.aravinth.cse@gmail.com> | 2019-08-24 08:11:58 +0300 |
commit | d5c383706130638d9772c5fdc18545a90424bff3 (patch) | |
tree | c9af74552fcf4d52cb89c4077e6b7e1ecd8c6dcd /lib/internal/validators.js | |
parent | d27cc1b6bbf4f7c108078022b07bd63821c76bbb (diff) |
lib: remove the comment of base64 validation
Since there's a comment about the 'base64' validation needed, and this
will result in a breaking change, so this should be removed.
PR-URL: https://github.com/nodejs/node/pull/29201
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Diffstat (limited to 'lib/internal/validators.js')
-rw-r--r-- | lib/internal/validators.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/internal/validators.js b/lib/internal/validators.js index f74338ebcb8..b5c1477bccd 100644 --- a/lib/internal/validators.js +++ b/lib/internal/validators.js @@ -151,8 +151,6 @@ function validateEncoding(data, encoding) { throw new ERR_INVALID_ARG_VALUE('encoding', encoding, `is invalid for data of length ${length}`); } - - // TODO(bnoordhuis) Add BASE64 check? } module.exports = { |