Added missing workaround for reserved characters in uri

This commit is contained in:
Bryan Roe 2021-08-15 11:12:50 -07:00
parent 453657fee7
commit bf1e30237c

View File

@ -858,7 +858,9 @@ require('MeshAgent').AddCommandHandler(function (data) {
}
var xurl = getServerTargetUrlEx(data.value);
if (xurl != null) {
if (xurl != null)
{
xurl = xurl.split('$').join('%24').split('@').join('%40'); // Escape the $ and @ characters
var woptions = http.parseUri(xurl);
woptions.rejectUnauthorized = 0;
woptions.perMessageDeflate = false;