Skip to content

Commit 94f7761

Browse files
committed
fix client get() with "~" for filters
1 parent 8e732e9 commit 94f7761

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ vendor/
22
report/
33
build/
44
composer.lock
5+
.idea/

lib/Bitbucket/API/Http/Client.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ public function get($endpoint, $params = array(), $headers = array())
8181
$params = array();
8282
}
8383

84+
$endpoint = str_replace('~=', '~', urldecode($endpoint));
85+
8486
return $this->request($endpoint, $params, 'GET', $headers);
8587
}
8688

0 commit comments

Comments
 (0)