Issue #4985 - remove TODO in Dispatcher

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2020-07-02 16:02:24 +10:00
parent 9126b282b1
commit f35d6cfd80
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ public class Dispatcher implements RequestDispatcher
{
HashSet<String> set = new HashSet<>();
super.getAttributeNameSet().stream()
.filter(name -> !name.startsWith(__INCLUDE_PREFIX)) // TODO: why does this filter the __INCLUDE_PREFIX as well?
.filter(name -> !name.startsWith(__INCLUDE_PREFIX))
.filter(name -> !name.startsWith(__FORWARD_PREFIX))
.forEach(set::add);