[WordPress] 外掛分享: Mime Type Check for Contact Form 7

首頁外掛目錄 › Mime Type Check for Contact Form 7
20+
安裝啟用
尚無評分
1649 天前
最後更新
問題解決
WordPress 5.7+ PHP 7.0+ v1.0.0 上架:2021-10-09

內容簡介

Contact Form 7 外掛的 Mime Type Check 是在 CF7 檔案上傳驗證時出現問題之後創建的。CF7 是一個廣泛使用的外掛,但其檔案驗證只會以副檔名為基礎進行驗證。

透過在作業系統中重新命名檔案,可以將檔案類型更改為 CF7 允許的類型,請參閱截圖
使用 CF7 上傳功能成功上傳檔案
安裝此外掛後,現在可以依據檔案的 mime type 進行驗證,而不僅僅是檢查副檔名是否符合 CF7 所支持的格式

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Mime Type Check for Contact Form 7」→ 直接安裝(推薦)

原文外掛簡介

Mime Type Check for Contact Form 7 plugin is created after a problem arises in CF7 file upload validation, CF7 is a widely used plugin but there was a problem in validation of file mime type. The CF7 validation was only validating the file on the extension

File type changes by renaming it to allowed types in operating system as shown in screenshot
Uploaded using CF7 upload and it was uploaded susscessfully.
Installed the plugin and now file is validating on mime type. Renamed allwoed extensions are not catered.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon