-
Notifications
You must be signed in to change notification settings - Fork 40
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
Fragment parameter HRPs appear to be case sensitive #442
Labels
bug
Something isn't working
Comments
DanGould
added a commit
to DanGould/rust-payjoin
that referenced
this issue
Dec 27, 2024
Bech32 fragment parameters should not be case sensitive. This fixes that by converting params and bech32 HRPs they match against to uppercase. Close payjoin#442
DanGould
added a commit
to DanGould/rust-payjoin
that referenced
this issue
Dec 27, 2024
Bech32 fragment parameters should not be case sensitive. This fixes that by converting params and bech32 HRPs they match against to uppercase. Close payjoin#442
DanGould
added a commit
to DanGould/rust-payjoin
that referenced
this issue
Dec 28, 2024
Bech32 fragment parameters should not be case sensitive. This fixes that by converting params and bech32 HRPs they match against to uppercase. Close payjoin#442
DanGould
added a commit
to DanGould/rust-payjoin
that referenced
this issue
Dec 28, 2024
Bech32 fragment parameters should not be case sensitive. This fixes that by converting params and bech32 Hrp|'1' prefixes they match against to uppercase. Note that this implementation implies all fragment parameters must be case insentitive, which needs to be specified in BIP 77. Close payjoin#442
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
param.starts_with(prefix)
is case sensitive and theUrl
type extended byUrlExt
may be mixed case.The text was updated successfully, but these errors were encountered: