ESPAsyncWebServer icon indicating copy to clipboard operation
ESPAsyncWebServer copied to clipboard

Improvement of template processing (see issues #1234 and #1249)

Open Sveninndh opened this issue 3 years ago • 1 comments

AsyncAbstractResponse::_fillBufferAndProcessTemplates()

1.) A parameter is enclosed by the % delimiter. 2.) Parameter names can have a maximum of 32 characters. 3.) Parameter names cannot contain illegal characters. (\ .:<>{}',;"/)

A parameter is only recognized and replaced if all of these conditions are met. Otherwise the text source code is not changed. Using double % is no longer necessary. Nevertheless, this mechanism will continue to be supported for reasons of compatibility.

Sveninndh avatar Jan 03 '23 17:01 Sveninndh

1.) A parameter is enclosed by the % delimiter. 2.) Parameter names can have a maximum of 32 characters. 3.) Parameter names cannot contain illegal characters. (\ .:<>{}',;"/)

A parameter is only recognized and replaced if all of these conditions are met. Otherwise the text source code is not changed. Using double % is no longer necessary. Nevertheless, this mechanism will continue to be supported for reasons of compatibility.

https://www.caregiverconnect.net/

Jakeduncan00 avatar Jan 05 '23 10:01 Jakeduncan00