diff --git a/ArchiSteamFarm/ArchiSteamFarm.php b/ArchiSteamFarm/ArchiSteamFarm.php index 7e9ed07416..48225027e6 100644 --- a/ArchiSteamFarm/ArchiSteamFarm.php +++ b/ArchiSteamFarm/ArchiSteamFarm.php @@ -24,7 +24,7 @@ public function test() } $test = parent::appTest( - $this->url("status?password=" . $this->config->password) + $this->url("status?password=" . urlencode($this->config->password)) ); echo $test->status; } @@ -36,7 +36,7 @@ public function livestats() } $status = "inactive"; $res = parent::execute( - $this->url("api/bot/asf?password=" . $this->config->password) + $this->url("api/bot/asf?password=" . urlencode($this->config->password)) ); $details = json_decode($res->getBody());