Requirements to merge file_uploads->master #1

Open
opened 2023-05-04 14:06:55 +00:00 by max · 0 comments
Owner

To-do:

  • Basic file upload functionality (Thanks Tom!)
  • Create a file model to preserve user ownership (if any) over a file, store the path, and store created_at time
  • Give files a random name in file system, verifying it doesn't already exist, and store the original name in the database via the file model, the original name should be applied when served
  • Sanitize uploaded files to avoid cross-site scripting attacks (need to research first)
  • Front-end example showing file uploads and serving files
# To-do: - [X] Basic file upload functionality (Thanks Tom!) - [ ] Create a file model to preserve user ownership (if any) over a file, store the path, and store created_at time - [ ] Give files a random name in file system, verifying it doesn't already exist, and store the original name in the database via the file model, the original name should be applied when served - [ ] Sanitize uploaded files to avoid cross-site scripting attacks (need to research first) - [ ] Front-end example showing file uploads and serving files
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: max/GoWeb#1
No description provided.