MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / _validate_profile_pic_upload

Function _validate_profile_pic_upload

Scripts/ButSystem.py:17307–17317  ·  view source on GitHub ↗

Validate profile picture upload type and return normalized MIME.

(file_storage)

Source from the content-addressed store, hash-verified

17305 return resp
17306
17307@app.route("/profiler/att/<int:aid>/delete", methods=["POST"])
17308@login_required
17309def profiler_att_delete(aid: int):
17310 """profiler_att_delete.
17311
17312Route handler or application helper.
17313
17314This docstring was expanded to make future maintenance easier.
17315
17316Args:
17317 aid: Parameter.
17318
17319Returns:
17320 Varies.

Callers 1

profile_pic_uploadFunction · 0.70

Calls 1

_upload_filename_mimeFunction · 0.70

Tested by

no test coverage detected