If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org
to view this page for some minimal testing.
for docu changes for 1.2 and 2.0.
Item781: Forms fields expand variables like , "e %
: TWiki Forms expand variables like $nop, $quote $percnt
This is confirmed.
Formfields that contains standard escaped dollar strings are escaped in the META tag. They should not be EXCEPT when using META with the option parent.
someone reported it as an error that the standard escapes are not escaped with the "parent" option. And this bug was correct.
Unfortunately the developers that fixed it escaped the dollar strings in all cases which also means in forms.
The spec clearly says only with the parent which is the only option that takes an additional format parameter and it is in the format that we escape these strings.
I have tried to make a unit test for this but I have not been successful yet. I will ask for help with that and add it later. For now we need it fixed
I have commented in the code to minimize risk of reimplementing this bug for the 3rd time.
- 16 Jan 2009
As a note. The additional fixes Sopan added on TWikibug:Item6167
are not needed on Foswiki. Our code seems to work correctly for the Search also with the fixes I applied on this bug item.
In fact Sopan fails to fix the real issue that introduced the problem in the first place.
- 21 Jan 2009