
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
..
2024-12-26 16:17:38 +05:30
2025-06-17 15:45:40 -07:00
2025-06-12 17:58:56 +05:30
2025-03-13 17:46:48 -07:00
2025-07-17 18:32:12 +05:30
2025-04-28 14:13:56 -07:00
2025-01-14 16:15:47 -08:00
2025-04-28 14:13:56 -07:00
2025-05-20 19:22:17 -07:00
2025-07-15 21:28:39 -07:00
2025-07-21 17:03:11 +04:00
2025-07-16 08:19:00 +05:30
2025-06-27 10:48:07 +05:30
2025-05-21 19:40:07 +05:30
2025-06-09 14:46:12 +05:30
2025-07-16 09:57:35 +05:30
2025-06-05 15:53:17 -05:00
2025-07-14 21:37:06 -07:00
2025-07-21 17:03:11 +04:00
2025-07-15 21:28:39 -07:00
2025-04-29 15:33:11 -07:00