add padding

master
Aevann 2023-07-01 00:30:24 +03:00
parent 2eeb0dcbdf
commit af4b262c7d
1 changed files with 2 additions and 1 deletions

View File

@ -404,7 +404,8 @@ def is_repost(v):
return not_a_repost
url = request.values.get('url')
if not url or len(url) < MIN_REPOST_CHECK_URL_LENGTH: abort(400)
if not url or len(url) < MIN_REPOST_CHECK_URL_LENGTH:
abort(400)
url = normalize_url(url)
url = unquote(url)