KamoCRM

Remove ambiguous unsubscribe requestMatcher that crashed startup

FixEmailService
Shipped
28 ஜூலை, 2026 அன்று 4:28 AM UTC
Author
Kamo
Commit
316d06b

EmailService mounts two servlets (MVC DispatcherServlet + Spring-WS MessageDispatcherServlet at /services/*), so a bare string requestMatchers( "/api/email/unsubscribe/**") is an ambiguous MvcRequestMatcher and threw at context init (CrashLoopBackOff). The endpoint is already public via anyRequest().permitAll() and **************** skips it, so the explicit matcher was redundant — removed.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing