The URL https://docs.spring.io/spring-security/reference/5.6.2/ returns a 404 response, when it should redirect to https://docs.spring.io/spring-security/reference. At this time 5.6.2 is the latest version.

Prior versions, for example 5.6.1, display the page as expected.

Comment From: eleftherias

This was caused by the update to Antora 3.0. This version introduces special behavior for the ROOT component. We weren't taking this into consideration in the major-minor-segment.js script, which resulted in us generating incorrect redirects, seen in the .htaccess file after running ./gradlew clean :spring-security-docs:antora. The solution was to update the script, referencing the changes made in Antora for the latest version.