Validate server.servlet.path does not contain '*'

Update `WebMvcProperties` to enforce that `server.servlet.path` never
contains a wildcard ['*'] character.

Closes gh-13292
This commit is contained in:
Phillip Webb
2018-10-04 14:06:58 -07:00
parent 6baaa3df77
commit 8b59503291
4 changed files with 18 additions and 8 deletions

View File

@@ -1 +1 @@
spring.mvc.servlet.path=/home/*
spring.mvc.servlet.path=/home/