spring-boot/spring-boot-project/spring-boot-tools
Andy Wilkinson 4083c721f2 Fix URL normalization when replacing /./ with /
Previously, a regular expression of /./ was used to replace /./ with
/.  The '.'' in the expression matches any single character so the
replacement was more broadly applicable than it should have been. For
example, /a/ would be replaced with /.

This commit uses Pattern.LITERAL to compile the regular expression
from the CURRENT_DIR (/./) contant. This allows the constant to be
used to check for occurances of /./ in the string before attempting
replacement, while also ensuring that the '.' is treated literally.

Closes gh-17341
2019-07-01 15:42:54 +01:00
..
spring-boot-antlib Merge branch '1.5.x' into 2.0.x 2019-06-07 10:46:31 +01:00
spring-boot-autoconfigure-processor Merge branch '2.0.x' into 2.1.x 2019-06-28 23:42:28 -07:00
spring-boot-configuration-metadata Merge branch '2.0.x' into 2.1.x 2019-06-28 23:42:28 -07:00
spring-boot-configuration-processor Merge branch '2.0.x' into 2.1.x 2019-06-28 23:42:28 -07:00
spring-boot-gradle-plugin Merge branch '2.0.x' into 2.1.x 2019-06-29 20:38:18 +01:00
spring-boot-loader Fix URL normalization when replacing /./ with / 2019-07-01 15:42:54 +01:00
spring-boot-loader-tools Merge branch '2.0.x' into 2.1.x 2019-06-28 23:42:28 -07:00
spring-boot-maven-plugin Merge branch '2.0.x' into 2.1.x 2019-06-28 23:42:28 -07:00
spring-boot-test-support Merge branch '2.0.x' into 2.1.x 2019-06-28 23:42:28 -07:00
pom.xml