We're having an issue with our WW2 application and we're not sure whether it's a bug or a feature.

In a text field, enter ® and click Save once. It returns us to the form, but now instead of the text ® we see the Registered symbol. Viewing the source of the web page, shows that it is still showing up as ® and the browser is rendering the Registered symbol. Click Save again without changing anything, and you still see the Registered symbol, and in the source of the web page, we are seeing the registered symbol also.

Checking the database, we see that the first save puts in the ® and the second save puts in the Registered symbol.

Problems also occur with putting HTML into text fields.

So the question is, is it's WW2's responsibility to escape text in the text tags when displaying them on the screen? I would say "Yes" but that's probably because of the side of the fence I'm sitting on. At the same time, clicking Save without changing anything on the form shouldn't result in a database change.

Opinions?

Anoop



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to