File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
xds/src/main/java/io/grpc/xds/internal/headermutations Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -92,14 +92,14 @@ private boolean isHeaderMutationAllowed(String headerName) {
9292 .orElse (true );
9393 }
9494
95- private boolean isHeaderMutationAllowed (String lowerCaseHeaderName ,
96- HeaderMutationRulesConfig rules ) {
95+ private boolean isHeaderMutationAllowed (String headerName ,
96+ HeaderMutationRulesConfig rules ) {
9797 if (rules .disallowExpression ().isPresent ()
98- && rules .disallowExpression ().get ().matcher (lowerCaseHeaderName ).matches ()) {
98+ && rules .disallowExpression ().get ().matcher (headerName ).matches ()) {
9999 return false ;
100100 }
101101 if (rules .allowExpression ().isPresent ()) {
102- return rules .allowExpression ().get ().matcher (lowerCaseHeaderName ).matches ();
102+ return rules .allowExpression ().get ().matcher (headerName ).matches ();
103103 }
104104 return !rules .disallowAll ();
105105 }
You can’t perform that action at this time.
0 commit comments