[pbs-devel] applied: [PATCH proxmox v4 4/7] rest-server: add custom handlebars escape fn

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Nov 25 16:39:42 CET 2024


Am 13.09.24 um 15:10 schrieb Gabriel Goller:
> Add a custom handlebars escape function. It's nearly identical to the
> default `html_escape` fn [0], but it does not escape the '='. This is
> needed to support base64 encoded values.
> 
> [0]: https://docs.rs/handlebars/latest/handlebars/fn.html_escape.html
> 
> Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
> ---
>  proxmox-rest-server/src/api_config.rs | 28 ++++++++++++++++++++++++++-
>  1 file changed, 27 insertions(+), 1 deletion(-)
> 
>

applied, thanks!




More information about the pbs-devel mailing list