aboutsummaryrefslogtreecommitdiff
path: root/hotline/flattened_file_object.go
AgeCommit message (Collapse)Author
2022-05-28Misc cleanupJeff Halter
* Removed some unnecessary user of pointers * Removed dead cruft * Reorganized code
2022-05-25Remove placeholder file commentJeff Halter
2022-05-25Add partial support for file create/modify timestampsJeff Halter
This replaces hardcoded placeholder create/modify timestamps with the real times, mostly. Create time is OS specific, so for now I'm ignoring it at using the modify time as a stand-in.
2022-05-25Add more file extension -> type/creator code mappingsJeff Halter
2022-05-24Fix file corruption bug for commented filesJeff Halter
This fixes a bug that happens when an uploaded file contains a file comment. The bug happens because the comment byte length was not included when calculating the length of the information header, causing the comment bytes to be appendedto the file.
2022-01-30Sanitize file path input to prevent directory traversalJeff Halter
2021-08-12More cleanupJeff Halter
2021-08-10Add tests and clean upJeff Halter
2021-07-28Move code to hotline dirJeff Halter