Difference between revisions of "File upload technical issues"

From LemonWiki共筆
Jump to navigation Jump to search
m
Tags: Mobile edit Mobile web edit
m
 
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 e.g. [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]
+
** 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
 
* OS issue: file name upper case sensitive

Latest revision as of 12:07, 31 January 2022

file upload technical issues


  • Check file extension before upload
  • Check file content after upload
  • Visus
  • OS issue: file name upper case sensitive

References