diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2016-03-11 01:23:49 +0100 |
---|---|---|
committer | Dominik Holland <dominik.holland@pelagicore.com> | 2016-03-11 07:51:35 +0000 |
commit | 025246ae59cdcf2eb6feca8c754dc208be4fd7d6 (patch) | |
tree | 6e633512777f0bcb0b736737e3bd671749b2e30d | |
parent | ad30464f0446c70b89e7b9710dfd4f79fb41bd1e (diff) |
Fix the checksum algorithm to match the one in the AM.
This is actually a long fixed security flaw, but somehow the patch got
lost when squashing and upstreaming the internal repo.
Change-Id: Ib9edd99ce6a5113e7cf6e5b9fe0c932bbd8d1206
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
-rw-r--r-- | store/utilities.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/store/utilities.py b/store/utilities.py index cac77da..813c622 100644 --- a/store/utilities.py +++ b/store/utilities.py @@ -213,7 +213,6 @@ def parsePackageMetadata(packageFile): entryName = entry.name if entry.isdir() and entryName.endswith('/'): entryName = entryName[:-1] - entryName = os.path.basename(entryName) addToDigest2 = unicode(entryName, 'utf-8').encode('utf-8') ## print >>sys.stderr, addToDigest1 |