Skip to content

Commit

Permalink
fix #1118 multi header rewrite not work
Browse files Browse the repository at this point in the history
  • Loading branch information
zoulinz committed Aug 23, 2022
1 parent f3bb501 commit 67d9e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http_modifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (m *HTTPModifier) Rewrite(payload []byte) (response []byte) {
for _, f := range m.config.HeaderRewrite {
value := proto.Header(payload, f.header)
if len(value) == 0 {
break
continue
}

if f.src.Match(value) {
Expand Down

0 comments on commit 67d9e79

Please sign in to comment.