Skip to content
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

vochain/indexer: lowercase hex search terms when querying #1351

Merged
merged 1 commit into from
Jul 17, 2024

Commits on Jul 6, 2024

  1. vochain/indexer: lowercase hex search terms when querying

    Since the SQL query uses INSTR with LOWER and HEX, the input hex string
    will never match if it contains any uppercase characters.
    Normalize the input string as lowercase to avoid that issue.
    
    In particular, uppercase letters can happen due to
    https://eips.ethereum.org/EIPS/eip-55.
    
    Fixes vocdoni#1348.
    mvdan committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    73570d6 View commit details
    Browse the repository at this point in the history