rolled back @Noxss for body that can contain html
This commit is contained in:
parent
33df79cd12
commit
1984615d5a
@ -24,7 +24,6 @@ import jakarta.validation.constraints.NotEmpty;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
import org.thingsboard.server.common.data.notification.NotificationDeliveryMethod;
|
import org.thingsboard.server.common.data.notification.NotificationDeliveryMethod;
|
||||||
import org.thingsboard.server.common.data.validation.NoXss;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -44,7 +43,6 @@ public abstract class DeliveryMethodNotificationTemplate {
|
|||||||
|
|
||||||
private boolean enabled;
|
private boolean enabled;
|
||||||
@NotEmpty
|
@NotEmpty
|
||||||
@NoXss
|
|
||||||
protected String body;
|
protected String body;
|
||||||
|
|
||||||
public DeliveryMethodNotificationTemplate(DeliveryMethodNotificationTemplate other) {
|
public DeliveryMethodNotificationTemplate(DeliveryMethodNotificationTemplate other) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user