Haproxy log formats are escaped by jinja
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
New
|
Undecided
|
Unassigned |
Bug Description
Haproxy template is configured to autoescape special characters like double quotes in custom haproxy log formats, which makes it impossible to use json formatted logs.
Example custom log format:
```
[haproxy_amphora]
user_log_format = '{"project_id":"{{ project_id }}","loadbalanc
```
Gets transformed into:
```
[root@amphora-
log-format {"project_
```
This bug can be fixed by adding 'safe' filter to jinja variable:
https:/