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 4679592.
  • Loading branch information
williamdes committed Jan 6, 2025
1 parent c159149 commit 70f9177
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions files/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,24 +359,24 @@ def get_filesystem_path(self):
def get_absolute_url(self):
return 'https://files.phpmyadmin.net{0}'.format(
self.__str__()
).replace('+', '%2b')
)

def get_signed_url(self):
if not self.signed:
return ''
return 'https://files.phpmyadmin.net{0}.asc'.format(
self.__str__()
).replace('+', '%2b')
self.__str__().replace('+', '%2b')
)

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

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

@property
def archive(self):
Expand Down

0 comments on commit 70f9177

Please sign in to comment.