Open ErnestBrandi opened 3 years ago
Hi, it throws on line 17 with large input strings
if (isBase64(arg)) arg = atob(arg)
I think you can just replace this with
try { arg = atob(arg) } catch(err) {}
it will throw (and be catched) if it is not a base64 string.
Hi, it throws on line 17 with large input strings
I think you can just replace this with
it will throw (and be catched) if it is not a base64 string.