Commit 0756b06f authored by Tarek Ziade's avatar Tarek Ziade

avoiding name collisions when looking for md5 in fragment

--HG--
branch : distribute
extra : rebase_source : 8b9469b9b9b4d8769ee5e6655aa1b75c207905b8
parent dd45c0df
......@@ -2049,7 +2049,7 @@ def _remove_md5_fragment(location):
if not location:
return ''
parsed = urlparse(location)
if 'md5' in parsed[-1]:
if parsed[-1].startswith('md5='):
return urlunparse(parsed[:-1] + ('',))
return location
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment