diff --git a/contracts/utils/Base64.sol b/contracts/utils/Base64.sol index 4a0b313f9b9..c4af3d43d43 100644 --- a/contracts/utils/Base64.sol +++ b/contracts/utils/Base64.sol @@ -23,6 +23,7 @@ library Base64 { /** * @dev Converts a `bytes` to its Bytes64Url `string` representation. + * Output is not padded with `=` as specified in https://www.rfc-editor.org/rfc/rfc4648[rfc4648]. */ function encodeURL(bytes memory data) internal pure returns (string memory) { return _encode(data, _TABLE_URL, false);