ayon-core
ayon-core copied to clipboard
Burnin: Extract burnin fails with brackets [] in settings template
Describe the bug
The Extract Burnin fails when the user adds a [
or ]
into the template.
For example like this:
{current_frame} [{frame_start}-{frame_end}]
In this setting:
project_settings/global/publish/ExtractBurnin/profiles/0/burnins/burnin/BOTTOM_RIGHT
But would apply to all of the burnin areas I assume.
To Reproduce
- Apply
[
or]
as described in OpenPype settings for the project - Publish a review from Maya with burnins
- Burnin will error.
Expected behavior
Special characters should get escaped accordingly
Additional context
We might need to consider other special characters to and escape them accordingly.
Mentioned on OpenPype discord here
[cuID:OP-3968]