solution 1:
According to URI RFC-3986 username allows hex encoding.
所以用hex 转换过的新String代替原来的用户名密码
nodejs 转换String to hex
hexString = Buffer.from(originalString,‘utf8’).toString(‘hex’);
solution 2: (可能不成功)
用’""'包装用户名密码
solution 1:
According to URI RFC-3986 username allows hex encoding.
所以用hex 转换过的新String代替原来的用户名密码
nodejs 转换String to hex
hexString = Buffer.from(originalString,‘utf8’).toString(‘hex’);
solution 2: (可能不成功)
用’""'包装用户名密码