Preserve Tomcat relative redirect behavior when upgrading to Spring Boot 4.2

Proprietary

Add server.tomcat.servlet.use-relative-redirects=false to existing Spring configuration files in embedded Tomcat applications to preserve the default before Spring Boot 4.2. Explicit configuration is retained.

io.moderne.java.spring.boot4.PreserveTomcatRelativeRedirects_4_2
mod run . --recipe=io.moderne.java.spring.boot4.PreserveTomcatRelativeRedirects_4_2

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Add a Spring configuration property