Replace curly quotes on sign message

This commit is contained in:
Tanner Collin 2022-04-29 07:12:25 +00:00
parent 14c325f155
commit d7ba3d6408

View File

@ -624,6 +624,9 @@ class StatsViewSet(viewsets.ViewSet, List):
try:
sign = request.data['sign'][:500]
sign = sign.replace('', '\'').replace('', '\'')
sign = sign.replace('', '"').replace('', '"')
if sign.startswith('https://') or sign.startswith('http://'):
cache.set('link', sign)
else: