Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
file.manage_file: uppercase checksums now work #40754
What does this PR do?
file.manage_file() in modules/file.py now correctly matches
What issues does this PR fix or reference?
get_hash supplied a lowercase hexadecimal hash, eg
If the user supplied an uppercase-formatted hash, case-sensitive string compares would fail.
user-supplied hashes are internally converted to lower-case immediately after being received as arguments.