Query parameter values passed to API endpoints are appended to URLs as-is, without URL encoding. This can produce malformed URLs when values contain characters that need encoding.
The most likely place to hit this is `GetRepositoryIssues` with label filtering, since label names commonly contain spaces and special characters (e.g., "discuss during sync", "C++", "won't fix").
For example, `GetRepositoryIssues("ponylang", "ponyc", creds, where labels = "discuss during sync")` would produce:
```
https://api.github.com/repos/ponylang/ponyc/issues?state=open&labels=discuss during sync
```
instead of:
```
https://api.github.com/repos/ponylang/ponyc/issues?state=open&labels=discuss+during+sync
```
This affects all current and future endpoints that accept query parameters. A URL-encoding utility would need to be added to the request infrastructure.
Query parameter values passed to API endpoints are appended to URLs as-is, without URL encoding. This can produce malformed URLs when values contain characters that need encoding.
The most likely place to hit this is `GetRepositoryIssues` with label filtering, since label names commonly contain spaces and special characters (e.g., "discuss during sync", "C++", "won't fix").
For example, `GetRepositoryIssues("ponylang", "ponyc", creds, where labels = "discuss during sync")` would produce:
```
https://api.github.com/repos/ponylang/ponyc/issues?state=open&labels=discuss during sync
```
instead of:
```
https://api.github.com/repos/ponylang/ponyc/issues?state=open&labels=discuss+during+sync
```
This affects all current and future endpoints that accept query parameters. A URL-encoding utility would need to be added to the request infrastructure.