Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: [Bug] & is replaced to & after Update of plugin Options page: Edit Log

Here is the list of edits for this post
[Bug] & is replaced to & after Update of plugin Options page
Reproducing steps:
1) Go to a plugin Options page.
2) Type an & sign into a text form field
3) Click update
4) On the result page, the form field will contain & instead &

It seems GT::CGI->html_escape() method is called somewhere, since all following chars are converted to its html entity:
& => &
< => &lt;
> => &gt;
" => &quot;

Seems called within GT::Plugins::Manager->load_options():
Code:
$val = GT::CGI->html_escape ($val);

This is not fine, expecially if the text field is used internally in plugin, and not displayed on a html page...

Alex, GT staff, could you analyze this problem and fix it?
Is that html_escape call really needed? What are the reasons?

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...

Last edited by:

webmaster33: Mar 30, 2003, 4:50 PM

Edit Log: