fix: Prevents path injection on unsubscribe

This commit is contained in:
Antonella Sgarlatta
2026-10-05 14:33:52 -03:00
committed by Antonella Sgarlatta
parent 8a11c29cce
commit b7d2f3664e
@@ -51,7 +51,7 @@ export class ActionsController extends BaseHttpController {
await this.serviceProxy.callEmailServer(
request,
response,
`subscriptions/actions/unsubscribe/${request.params.token}`,
`subscriptions/actions/unsubscribe/${encodeURIComponent(request.params.token)}`,
request.body,
)
}