After upgrading java 11 to 17 we have a problem with the replace function.
Example:
{{ "web.xyz".replace('web', 'test') }} -> teb.xyz
This works fine:
{{ "web.xyz"|replace('web', 'test') }} -> test.xyz
After upgrading java from the replace function, it takes the first character from the replace function and not the whole string.