Spring no longer supports trailing slashes by default, as of https://github.com/spring-projects/spring-framework/issues/28552. However, unit tests that are setup using the StandaloneMockMvcBuilder still have default support for trailing slashes. This causes an inconsistency that does not reflect what spring does by default. By changing the default to false, unit tests will accurately reflect the base implementation, which will cause less confusion when unit tests are working and production code is not.

Comment From: pivotal-cla

@evan-mc Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@evan-mc Thank you for signing the Contributor License Agreement!

Comment From: sbrannen

@rstoyanchev, what do you think about switching the default here?

Comment From: rstoyanchev

Yes, it makes sense to align the default, but maybe in 6.2 only.