Closed ig596 closed 12 months ago
@nathan-roys thanks for the prompt efforts. I believe this is still a bug. We now notice that if the client is instantiated as done in the reproduction code above, this updated release will duplicate /rest/
in the path and also not properly include a ?
for the query params and only uses &
between them leading to incorrect parsing. If you are unable to address this please let me know where in the code I can look to try to fix for a PR.
@ig596 I'll look in to this & get back to you next week :)
More than happy if you'd like to take a look though @ig596, I'm happy to look at PRs.
If you look at my previous PR, you can see the relevant code: https://github.com/snyk-labs/pysnyk/pull/195/files
@nathan-roys I was wrong. We had an issue with our cache and lock file not properly updating. 0.9.13 fixed the original issue.
Is there an existing issue for this?
Description of the bug
This commit appears to have adjusted the behavior of
get_rest_pages()
, resulting in appending duplicate query params that result in an invalid query.?limit=100&version=experimental?limit=100&version=experimental&
Steps To Reproduce
Run the following code on an organization containing a large number of projects
Additional Information
Version Experiencing Bug