Add a missing space in exception message

Closes gh-26385
This commit is contained in:
izeye 2021-01-14 20:01:22 +09:00 committed by Rossen Stoyanchev
parent 35225e5794
commit 469eb8146e
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ public class CorsConfiguration {
this.allowedOrigins != null && this.allowedOrigins.contains(ALL)) {
throw new IllegalArgumentException(
"When allowCredentials is true, allowedOrigins cannot contain the special value \"*\"" +
"When allowCredentials is true, allowedOrigins cannot contain the special value \"*\" " +
"since that cannot be set on the \"Access-Control-Allow-Origin\" response header. " +
"To allow credentials to a set of origins, list them explicitly " +
"or consider using \"allowedOriginPatterns\" instead.");