Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a problem setting the "base" for the API URLs

  • Loading branch information...
commit 28e273de6461b4db5be61fb5a9b412ec6d9d15f5 1 parent b0c63c1
@magicmonkey magicmonkey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/api-v2/inc/Request.php
View
2  src/api-v2/inc/Request.php
@@ -47,7 +47,7 @@ public function __construct($parseParams = true)
$this->setScheme('http://');
}
- $this->setBase($this->getScheme() . $this->getPathInfo());
+ $this->setBase($this->getScheme() . $this->getHost());
if ($parseParams) {
$this->parseParameters();
Please sign in to comment.
Something went wrong with that request. Please try again.