TS-1701 segv if header_rewrite is configured with the InkAPI and uses PATH or QUERY conditions
Added TS-1701.
Fixed some formatting.