Skip to content

Commit 439c82b

Browse files
committed
chore: add TODO for future encoding of all non-alphanumerical characters
1 parent 0e15612 commit 439c82b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/helpers/client.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const request = require('./request');
99
const { keystores } = require('./weak_cache');
1010
const merge = require('./merge');
1111

12+
// TODO: in v6.x additionally encode the `- _ . ! ~ * ' ( )` characters
1213
const formUrlEncode = (value) => encodeURIComponent(value).replace(/%20/g, '+');
1314

1415
async function clientAssertion(endpoint, payload) {

0 commit comments

Comments
 (0)