aboutsummaryrefslogtreecommitdiff
path: root/qc_app/upload
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-01-16 12:33:04 +0300
committerFrederick Muriuki Muriithi2024-01-16 12:33:04 +0300
commit7d6deb76edde8dce5414220586c1fde0ddebfc6e (patch)
tree06c30cd74a12c31100701c0573754ebac9e064be /qc_app/upload
parent0b8bd607645bf32e1713841e4c68dbc7ea60c0a2 (diff)
downloadgn-uploader-7d6deb76edde8dce5414220586c1fde0ddebfc6e.tar.gz
Build a sha512 hash from the uploaded file's name and timestamp
Build a sha512 message digest from the file's name and the timestamp of when the file was uploaded. This ensures that the filename is URL-safe, and reduces chances of name conflicts in the upload directory which could lead to data corruption when processing the files and saving the files into the database.
Diffstat (limited to 'qc_app/upload')
0 files changed, 0 insertions, 0 deletions