Skip to content

Commit

Permalink
chore: adds comment
Browse files Browse the repository at this point in the history
  • Loading branch information
M4tteoP committed Nov 23, 2023
1 parent 7db051f commit 45a0377
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/corazawaf/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ func (tx *Transaction) AddRequestHeader(key string, value string) {
}
case "cookie":
// Cookies use the same syntax as GET params but with semicolon (;) separator
// noURLUnescape is used to avoid implicitly performing an URL decode on the cookies
values := urlutil.ParseQuery(value, ';', noURLUnescape)
for k, vr := range values {
for _, v := range vr {
Expand Down

0 comments on commit 45a0377

Please sign in to comment.