forked from MarseyWorld/MarseyWorld
fkjdhfkjdhfdkjfhdkf
parent
424e9bc0ae
commit
0c7d8f0da1
|
@ -82,7 +82,7 @@ def settings_personal_post(v):
|
||||||
# end common selectors #
|
# end common selectors #
|
||||||
|
|
||||||
background = request.values.get("background", v.background)
|
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")
|
v.background = request.values.get("background")
|
||||||
updated = True
|
updated = True
|
||||||
elif request.values.get("reddit", v.reddit) != v.reddit:
|
elif request.values.get("reddit", v.reddit) != v.reddit:
|
||||||
|
|
Loading…
Reference in New Issue