CP-2395 Undo removal of url encoding logic

This commit is contained in:
vsc-m 2024-09-26 14:01:32 +01:00
parent d1d32568a0
commit a4c6de9202

View File

@ -178,6 +178,12 @@ class ApiClient:
path_params, path_params,
collection_formats collection_formats
) )
for k, v in path_params:
# specified safe chars, encode everything
resource_path = resource_path.replace(
'{%s}' % k,
quote(str(v), safe='')
)
# post parameters # post parameters
if post_params or files: if post_params or files: