mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
Added missing workaround for reserved characters in uri
This commit is contained in:
parent
453657fee7
commit
bf1e30237c
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue