File upload technical issues: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
* Check file content after upload | * Check file content after upload | ||
** Check the file extension | ** Check the file extension | ||
** Check the content if the file extension is fake | ** Check the content if the file extension is fake e.g. detect the [https://zh.m.wikipedia.org/wiki/%E5%A4%9A%E7%94%A8%E9%80%94%E4%BA%92%E8%81%AF%E7%B6%B2%E9%83%B5%E4%BB%B6%E6%93%B4%E5%B1%95 MIME type] using [https://www.php.net/manual/en/function.mime-content-type.php PHP: mime_content_type] function | ||
* Visus | * Visus | ||
* OS issue: file name upper case sensitive | |||
References | References | ||
Latest revision as of 12:07, 31 January 2022
file upload technical issues
- Check file extension before upload
- Check file content after upload
- Check the file extension
- Check the content if the file extension is fake e.g. detect the MIME type using PHP: mime_content_type function
- Visus
- OS issue: file name upper case sensitive
References