Skip to content

Commit

Permalink
Temporary fix: encode + for the snaphots links
Browse files Browse the repository at this point in the history
Fixes #166

How long this temporary fix will last ?
  • Loading branch information
williamdes committed Oct 10, 2024
1 parent d17b835 commit 466a0f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions files/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,17 +365,17 @@ def get_signed_url(self):
if not self.signed:
return ''
return 'https://files.phpmyadmin.net{0}.asc'.format(
self.__str__()
self.__str__().replace('+', '%2b')
)

def get_checksum_url(self):
return 'https://files.phpmyadmin.net{0}.sha256'.format(
self.__str__()
self.__str__().replace('+', '%2b')
)

def get_alternate_url(self):
return 'https://1126968067.rsc.cdn77.org{0}'.format(
self.__str__()
self.__str__().replace('+', '%2b')
)

@property
Expand Down

0 comments on commit 466a0f0

Please sign in to comment.