Closed aisbergg closed 2 years ago
Currently, BackendExtra
does not support the comma to new-line notation. This may be because there are some haproxy options that use comma, such as resolve-opts
: https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#5.2-resolve-opts
This would be definitely great to have. I also need this option.
I also would love to see this.
My only concern with adding this feature using comma as a separator is that it will break backwards compatibility. For example:
http-request set-header x-path %[hdr(x-path),regsub(/+,/,g)]
In this case, the comma needs to be there.
I see. Two quick options then came to my mind earlier this day:
We could give the user complete control by adding BackendExtraMultilineSeparator
.
Oh yes I like this idea.
This project needs adoption. I moved to Kubernetes and cannot dedicate time to this project anymore. Similarly, involvement from other contributors dropped as well. Please consider contributing yourself if you think this project is useful.
Dear @aisbergg
If this issue is still relevant, please feel free to leave a comment here.
It would be nice to add multiple lines to the backend with
BackendExtra
. Like other parameters the string should be separated with a comma.