Skip to content

rutorrent - don't hardcode endpoint (uri)Β #452

@al3xLvs

Description

@al3xLvs

My RPC url doesn't finish by https://domain.tld/RPC2 but by https://domain.tld/RPC

We need to fix this code.
file: ruTorrent.php

    public function url($endpoint)
    {
        return parent::normaliseurl($this->config->url).$endpoint;
    }

    public function getXMLRPCData($method)
    {
        ...
        $res = parent::execute($this->url('RPC2'), $this->attrs, $this->vars);
        ...
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions