StrictHttpFirewall#setAllowedHeaderNames
should augment with existing Predicate
#13639
Labels
StrictHttpFirewall#setAllowedHeaderNames
should augment with existing Predicate
#13639
Expected Behavior
StrictHttpFirewall#setAllowedHeaderNames
either should augment the existing predicate withPredicate#and
or provideaddAllowHeaderNames
to allow augmenting it to current predicate, so that I get to retain default protection provided byStrictHttpFirewall
.Current Behavior
The current implementation rejects any Request with non-ascii characters. Current implementation of
StrictHttpFirewall#setAllowedHeaderNames
replaces predicate, making me lose out to default protection.I am willing to provide a PR for this should this be accepted as valid request.
The text was updated successfully, but these errors were encountered: