diff --git a/ghapi/core.py b/ghapi/core.py index f251fb8..384bdbc 100644 --- a/ghapi/core.py +++ b/ghapi/core.py @@ -127,7 +127,7 @@ def __call__(self, path:str, verb:str=None, headers:dict=None, route:dict=None, if not path.startswith(('http://', 'https://')): path = self.gh_host + path if route: - for k,v in route.items(): route[k] = quote(str(route[k])) + for k,v in route.items(): route[k] = quote(str(route[k]), safe='') return_json = ('json' in headers['Accept']) and (decode is True) debug = self.debug if self.debug else print_summary if os.getenv('GHAPI_DEBUG') else None res,self.recv_hdrs = urlsend(path, verb, headers=headers or None, decode=decode, debug=debug, return_headers=True,