
Sojan JoseandClaude
ee176480da
feat: Enhanced WhatsApp template support with security optimizations
- Add comprehensive WhatsApp template parameter support for header/footer/buttons
- Implement coupon code template support with 15-character validation
- Support all WhatsApp template types (text, media, interactive)
- Add advanced parameter types (currency, date/time, location)
- Remove restrictions on DOCUMENT, IMAGE, VIDEO template formats
Security improvements:
- Fix XSS vulnerability by replacing v-html with v-dompurify-html
- Add input sanitization and parameter validation
- Implement URL validation with scheme and length checks
- Add protection against DoS attacks with length limits
Performance optimizations:
- Replace recursive template fetching with iterative pagination
- Add safety limits to prevent infinite loops and stack overflow
- Optimize template processing for better memory usage
Frontend enhancements:
- Enhanced template picker with header/footer/button display
- Component-based parameter input organized by type
- Real-time validation for coupon codes and parameters
- Improved template preview with sanitized HTML rendering
- Fix Vue linting issues with proper computed properties
Maintains full backward compatibility with existing template configurations.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 17:03:11 +04:00
..
2025-07-21 17:03:11 +04:00
2024-10-09 22:10:53 -07:00
2025-07-08 14:26:00 -07:00
2025-06-24 19:52:44 +05:30
2025-07-08 14:26:00 -07:00
2025-07-09 09:23:20 +05:30
2024-10-07 15:27:41 +05:30
2025-05-16 14:18:52 +05:30
2025-07-01 09:43:44 +05:30
2025-07-08 14:26:00 -07:00
2024-12-05 16:31:47 -08:00