From 221664b0576b7ef51bbdb814745ca958e686b3de Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 31 Mar 2022 22:53:01 +0300 Subject: Bump Spring Boot to 2.6.6 * Spring4Shell workaround is not needed anymore --- src/main/java/com/juick/www/BinderHandler.java | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/main/java/com/juick/www/BinderHandler.java (limited to 'src/main/java/com/juick') diff --git a/src/main/java/com/juick/www/BinderHandler.java b/src/main/java/com/juick/www/BinderHandler.java deleted file mode 100644 index c89fc37c..00000000 --- a/src/main/java/com/juick/www/BinderHandler.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.juick.www; - -import org.springframework.core.annotation.Order; -import org.springframework.web.bind.WebDataBinder; -import org.springframework.web.bind.annotation.ControllerAdvice; -import org.springframework.web.bind.annotation.InitBinder; - -@ControllerAdvice -@Order(10000) -public class BinderHandler { - - @InitBinder - public void setAllowedFields(WebDataBinder dataBinder) { - String[] denylist = new String[] { "class.*", "Class.*", "*.class.*", "*.Class.*" }; - dataBinder.setDisallowedFields(denylist); - } -} -- cgit v1.2.3