Added warning against wildcard #1053

From recommendation of @freetom

Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Greg Wilkins 2018-03-08 10:30:55 +11:00
parent f6c1b76e71
commit a10eb59f82
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ import org.eclipse.jetty.util.log.Logger;
* <dt>allowedOrigins</dt>
* <dd>a comma separated list of origins that are
* allowed to access the resources. Default value is <b>*</b>, meaning all
* origins.
* origins. Note that using wild cards can result in security problems
* for requests identifying hosts that do not exist.
* <p>
* If an allowed origin contains one or more * characters (for example
* http://*.domain.com), then "*" characters are converted to ".*", "."