fkjdhfkjdhfdkjfhdkf

master
justcool393 2022-11-06 21:50:38 -06:00
parent 424e9bc0ae
commit 0c7d8f0da1
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ def settings_personal_post(v):
# end common selectors #
background = request.values.get("background", v.background)
if background != v.background and not ".." in background and background.endswith(".webp") and len(background) < 20 and os.path.isfile(f"/assets/images/backgrounds/{background}"):
if background != v.background and background.endswith(".webp") and len(background) <= 20:
v.background = request.values.get("background")
updated = True
elif request.values.get("reddit", v.reddit) != v.reddit: