You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ! Pretty nice work on this module, letting me auto update dependencies on projects.
I came accross a bug on some repositories, for eg., when I do python -m lastversion n8n-io/n8n, I get 400.222.3 as a result, but it should be 0.222.3 (as of 2023/04/24).
When digging why I get this behavior with verbose, I have the following line :
lastversion.GitHubRepoSession - INFO - Got HTTP status code 200 from https://api.github.com/repos/n8n-io/n8n/releases/tags/n8n%400.223.3
So n8n%400.223.3 is interpreted as 400.223.3 instead of 0.223.3 because %40 is treated as 40 instead of @ (url decoding)
The text was updated successfully, but these errors were encountered:
TheBlusky
changed the title
Bag URL decoding on tags leading to wrong major version
Bad URL decoding on tags leading to wrong major version
Apr 24, 2023
Hi ! Pretty nice work on this module, letting me auto update dependencies on projects.
I came accross a bug on some repositories, for eg., when I do
python -m lastversion n8n-io/n8n
, I get400.222.3
as a result, but it should be 0.222.3 (as of 2023/04/24).When digging why I get this behavior with verbose, I have the following line :
lastversion.GitHubRepoSession - INFO - Got HTTP status code 200 from https://api.github.com/repos/n8n-io/n8n/releases/tags/n8n%400.223.3
So
n8n%400.223.3
is interpreted as 400.223.3 instead of 0.223.3 because%40
is treated as40
instead of@
(url decoding)The text was updated successfully, but these errors were encountered: