Commits

Tarek Ziadé committed 37cf0f9

avoiding name collisions when looking for md5 in fragment

  • Participants
  • Parent commits 5b46982
  • Branches 0.6-maintenance

Comments (0)

Files changed (1)

     if not location:
         return ''
     parsed = urlparse(location)
-    if 'md5' in parsed[-1]:
+    if parsed[-1].startswith('md5='):
         return urlunparse(parsed[:-1] + ('',))
     return location