TT#68300 NGCP::API::Client: Use URI->path_query instead of URI->path()

The former will properly parse query strings separated by «?», the
latter will escape the «?» which will break the query arguments.

Change-Id: I29f4916a54f3d49bd5d8b7a2d0a998d57977e1dd
changes/10/34210/1
Guillem Jover 6 years ago
parent 22afdd6b89
commit 1e4dd592d5

@ -99,7 +99,7 @@ sub _get_url {
my ($self, $uri) = @_;
my $url = $self->{_urlbase}->clone();
$url->path($uri);
$url->path_query($uri);
return $url;
}

Loading…
Cancel
Save