-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: x/upgrade ParseInfo consider some values as URLs #19686
Labels
Comments
The simplest fix is replacing |
Cool! Are you willing to submit a PR? |
FWIW, you can skip the upgrade info checks with a flag |
12 tasks
|
gibson042
added a commit
to gibson042/cosmos-sdk
that referenced
this issue
Mar 8, 2024
julienrbrt
added a commit
to gibson042/cosmos-sdk
that referenced
this issue
Mar 16, 2024
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
What happened?
Trying to use values such as
{}
forupgrade-info
results in errormissing checksum query parameter
.The problem is that
ParseInfo
attempts to parse the upgrade info as a URL and consider it as such if no error is returned. However most strings can parse as a valid URL, especially relative ones.It should at least check that the URL is absolute.
Cosmos SDK Version
0.46
How to reproduce?
The text was updated successfully, but these errors were encountered: