easel and marcospereira Selective application of AllowedHostsFilter (#8582)
* Default implementation and configuration adds a +anyhost
  route tag which can be used to white-list a route, excluding it
  from allowed hosts checks.
* Also supports a blackList, allowing selective application instead
  of selective exclusion.
* AllowedHostsConfig can be programatically configured with a
  RequestHeader => Boolean allowing future extensibility while maintaing
  binary compatibility.
* Tests implemented for all 4 cases
* Added WhiteListing and BlackListing sections to AllowedHostsFilter.md
Latest commit b2bf6db Sep 18, 2018


Play Framework - The High Velocity Web Framework

Gitter Maven

The Play Framework combines productivity and performance making it easy to build scalable web applications with Java and Scala. Play is developer friendly with a "just hit refresh" workflow and built-in testing support. With Play, applications scale predictably due to a stateless and non-blocking architecture. By being RESTful by default, including assets compilers, JSON & WebSocket support, Play is a perfect fit for modern web & mobile applications.

Learn More


Copyright (C) 2009-2018 Lightbend Inc. (https://www.lightbend.com).

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.