Trim last allowed origin in comma-delimited list
See gh-33181
This commit is contained in:
@@ -281,7 +281,7 @@ public class CorsConfiguration {
|
||||
}
|
||||
}
|
||||
if (start < rawValue.length()) {
|
||||
valueConsumer.accept(rawValue.substring(start));
|
||||
valueConsumer.accept(rawValue.substring(start).trim());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user