dsf
This commit is contained in:
parent
2cce840c39
commit
767af21f50
3 changed files with 36 additions and 30 deletions
|
@ -100,7 +100,7 @@ def settings_profile_post(v):
|
|||
updated = True
|
||||
v.is_nofollow = request.values.get("nofollow", None) == 'true'
|
||||
|
||||
if request.values.get("bio"):
|
||||
if request.values.get("bio") or request.files.get('file'):
|
||||
bio = request.values.get("bio")[:1500]
|
||||
|
||||
for i in re.finditer('^(https:\/\/.*\.(png|jpg|jpeg|gif|webp|PNG|JPG|JPEG|GIF|WEBP|9999))', bio, re.MULTILINE):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue