frictionlessdata / tableschema-js

A JavaScript library for working with Table Schema.
http://frictionlessdata.io/
MIT License
82 stars 27 forks source link

fix: fix base64 validation #161

Closed severo closed 4 years ago

severo commented 4 years ago

Base64 strings end with 0, 1 or 2 '=' characters. It's incorrect to assume that they always end with "==".

I think we also have to remove inference for binary strings because:

See https://github.com/frictionlessdata/tableschema-js/issues/125#issuecomment-561679940.


Please preserve this line to notify @roll (lead of this repository)