[eluser]DimCI[/eluser]
[quote author="Twisted1919" date="1280428066"]I found this bug today while i was re-posting a form over and over .
Here is what's happening , let's suppose that we have an input field like :
Code:
<?php $variable = 'My input field" content';?>
<input type="hidden" name="my_input" id="my_input" value="<?php echo set_value($variable);?>"/>
Now, for example, if validation failed, my field will show :
Code:
My input field" content
Then if i hit the refresh button of my browser or if i submit the form again, the value becomes :
Code:
My input field&quot; content
//And so on .
[/quote]
hm... I've bumped into the same problem today - while validating a form and repopulating fields which contain some HTML code, when the form value(s) isn't valid I can see each time a new "amp;" added... E.g. a field contains ampersand character: "&" (some URL). Each time the field 's being repopulated there is "&", the next submit - "&amp;", the next - "&amp;amp;".... etc...
And I can see that there is no answer since the same question appeared for the first time 3+ months ago

((...