Skip to content

Commit 9ef2cb5

Browse files
Encode URIs according to RFC 3986
1 parent 68b9586 commit 9ef2cb5

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ CHANGE LOG
22
==========
33

44

5+
## 10.0.0 (Upcoming)
6+
7+
* Encode URIs according to RFC 3986
8+
* Send request bodies as JSON to GitLab
9+
* Removed all deprecated functionality
10+
* Switched to PSR-17 and PSR-18
11+
12+
513
## 9.18.0 (Upcoming)
614

715
* Deprecated all APIs that are deprecated or removed as of GitLab 13.1

src/Api/AbstractApi.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,7 @@ protected function delete($uri, array $params = [], array $headers = [])
165165
*/
166166
protected static function encodePath($uri)
167167
{
168-
$uri = rawurlencode((string) $uri);
169-
170-
return str_replace('.', '%2E', $uri);
168+
return rawurlencode((string) $uri);
171169
}
172170

173171
/**

0 commit comments

Comments
 (0)