This code is generated through BuckleScript -> JS, I can't see where the invalid character is.
However, I think that this may be an issue where UWP doesn't allow access to the internalhost as a feature, and thus is throwing an error.
I have already added a loop-back exception added the SID and that. I have run CheckNetIsolation LoopbackExempt -is -n=packageFamilyName.
function getJidFromUrl(url) {
var match = url[
/* path */
0];
if (match && !match[1]) {
var jidString = atob(match[0]); //error line here
return toJid(jidString);
}
}
Unhandled exception at line *, column 5 in index.bs.js
0x800a139e - JavaScript runtime error: InvalidCharacterError