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 |
||
|---|---|---|
| .. | ||
| spring-boot-antlib | ||
| spring-boot-autoconfigure-processor | ||
| spring-boot-configuration-metadata | ||
| spring-boot-configuration-processor | ||
| spring-boot-gradle-plugin | ||
| spring-boot-loader | ||
| spring-boot-loader-tools | ||
| spring-boot-maven-plugin | ||
| spring-boot-test-support | ||
| pom.xml | ||