aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-03-31 22:53:01 +0300
committerGravatar Vitaly Takmazov2022-03-31 22:53:01 +0300
commit221664b0576b7ef51bbdb814745ca958e686b3de (patch)
tree58b67e66261f86c5f0db66b94df32c88af24049c /src/main/java
parente79e865766c9932e1068f914a481e596c6816296 (diff)
Bump Spring Boot to 2.6.6
* Spring4Shell workaround is not needed anymore
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/juick/www/BinderHandler.java17
1 files changed, 0 insertions, 17 deletions
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);
- }
-}