Skip to content
Snippets Groups Projects
Commit 4a2233c5 authored by Antoine Pietri's avatar Antoine Pietri
Browse files

identifiers: encode origin URLs in utf-8

parent 97af8866
No related branches found
Tags v0.0.62
No related merge requests found
......@@ -612,7 +612,7 @@ def origin_identifier(origin):
An origin's identifier is the sha1 checksum of the entire origin URL
"""
return hashlib.sha1(origin['url'].encode('ascii')).hexdigest()
return hashlib.sha1(origin['url'].encode('utf-8')).hexdigest()
_object_type_map = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment