mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-13 21:01:16 +08:00
# Pull Request Template ## Description This PR adds file type validation for clipboard-pasted attachments and prevents unsupported file types from being attached across channels. https://developers.chatwoot.com/self-hosted/supported-features#outgoing-attachments-supported-file-types Fixes https://linear.app/chatwoot/issue/CW-6233/bug-unsupported-file-types-allowed-via-clipboard-paste ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) ## How Has This Been Tested? **Loom video** **Before** https://www.loom.com/share/882c335be4894d86b9e149d9f7560e72 **After** https://www.loom.com/share/90ad9605fc4446afb94a5b8bbe48f7db ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [x] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules --------- Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> |
||
|---|---|---|
| .. | ||
| markdownIt | ||
| specs | ||
| vuex | ||
| AudioNotificationHelper.js | ||
| BaseActionCableConnector.js | ||
| cache.js | ||
| clipboard.js | ||
| colorHelper.js | ||
| CustomErrors.js | ||
| CustomEventHelper.js | ||
| DateHelper.js | ||
| documentHelper.js | ||
| emoji.js | ||
| FileHelper.js | ||
| HTMLSanitizer.js | ||
| IntegrationHelper.js | ||
| KeyboardHelpers.js | ||
| localStorage.js | ||
| MessageFormatter.js | ||
| MessageTypeHelper.js | ||
| mitt.js | ||
| portalHelper.js | ||
| ReportsDataHelper.js | ||
| sanitizeData.js | ||
| sessionStorage.js | ||
| timeHelper.js | ||
| Validators.js | ||