Description
I noticed that backslash-escape in quoted-string is not allowed in header-rewrite plugin rules. IIRC, this is allowed in 5.3.x.
e.g.
cond %{SEND_RESPONSE_HDR_HOOK} add-header Public-Key-Pins "pin-sha256=\"UgXZQmS15cJoBeWTvbmCE+PGw5/oHV00e+MMyuXr0YQ=\"; pin-sha256=\"eYKlKmvqHnR4CsglcYuNzvro7rrmFINrje5nSAxnEsc=\"; max-age=600; includeSubDomains" [L]
I got below error
20160830.16h19m34s [header_rewrite] malformed line "add-header Public-Key-Pins "pin-sha256=\"UgXZQmS15cJoBeWTvbmCE+PGw5/oHV00e+MMyuXr0YQ=\"; pin-sha256=\"eYKlKmvqHnR4CsglcYuNzvro7rrmFINrje5nSAxnEsc=\"; max-age=600; includeSubDomains" [L]" ignoring...
Attachments
Issue Links
- is related to
-
TS-4993 Backslash/escape removed from header_rewrite rule when unquoted
- Closed
- links to