Fixed IP KVM support on olver NodeJS.
Ylian Saint-Hilaire committed
Dec 13, 2021 at 13:16 UTC
7e226ac86dbb2980c92df16733354cec38ddbe31
2 files changed
+2
-2
meshipkvm.js
+1
-1
@@ -297,7 +297,7 @@ function CreateRaritanKX3Manager(parent, hostname, port, username, password) {
297
setState(1); // 1 = Connecting
298
obj.authCookie = null;
299
if (retryTimer != null) { clearTimeout(retryTimer); retryTimer = null; }
300
- const data = new TextEncoder().encode('is_dotnet=0&is_javafree=0&is_standalone_client=0&is_javascript_kvm_client=1&is_javascript_rsc_client=1&login=' + encodeURIComponent(username) + '&password=' + encodeURIComponent(password) + '&action_login=Login');
300
+ const data = Buffer.from('is_dotnet=0&is_javafree=0&is_standalone_client=0&is_javascript_kvm_client=1&is_javascript_rsc_client=1&login=' + encodeURIComponent(username) + '&password=' + encodeURIComponent(password) + '&action_login=Login');
301
const options = {
302
hostname: hostname,
303
port: port,
package.json
+1
-1
@@ -1,6 +1,6 @@
1
{
2
"name": "meshcentral",
3
- "version": "0.9.58",
3
+ "version": "0.9.59",
4
"keywords": [
5
"Remote Device Management",
6
"Remote Device Monitoring",