-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Base64URL valid characters are not properly validated #69
Comments
I have little time to work on this, but I see the problem. It's here: zcash-swift-payment-uri/Sources/ZcashPaymentURI/Model.swift Lines 110 to 111 in 75ca8f3
This converts the base64url string into a base64 string just by substituting Before doing this substitution, it should be explicitly checking that the string contains only the allowed base64url characters. That is, the input should be checked to match the regex Note that we can't assume that |
[#69] Fix: Base64URL valid characters are not properly validated
reported Electric-Coin-Company/zashi-ios#1420 here
The text was updated successfully, but these errors were encountered: