Skip to content

Commit

Permalink
Revert "Temporary fix: encode + for the snaphots links"
Browse files Browse the repository at this point in the history
This reverts commit 466a0f0.
  • Loading branch information
williamdes committed Jan 6, 2025
1 parent 70f9177 commit 6c2aca9
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__().replace('+', '%2b')
self.__str__()
)

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

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

@property
Expand Down

0 comments on commit 6c2aca9

Please sign in to comment.